Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The filepicker is not to be closed as expected #3714

Closed
nocatsnolife opened this issue Oct 31, 2024 · 2 comments
Closed

The filepicker is not to be closed as expected #3714

nocatsnolife opened this issue Oct 31, 2024 · 2 comments

Comments

@nocatsnolife
Copy link

zellij --version: 0.40.1

stty size: 34 147

uname -av or ver(Windows): Linux fedora 6.11.5-300.fc41.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Oct 22 20:11:15 UTC 2024 x86_64 GNU/Linux

Issue description

Minimal reproduction

1.Open zellij
2.Type alt+f twice,2 filepicker shows(it's ok)
3.Select a file and type enter,the newer filepicker is closed
4.Type alt+f once, 2 filepick shows(how to close the old one?)

Other relevant information

Screenshot:
Pasted image

My config:

    shared_except "locked" {
        bind "Ctrl g" { SwitchToMode "Locked"; }
        bind "Ctrl q" { Quit; }
        bind "Alt n" { NewPane; }
        bind "Alt i" { MoveTab "Left"; }
        bind "Alt o" { MoveTab "Right"; }
        bind "Alt h" "Alt Left" { MoveFocusOrTab "Left"; }
        bind "Alt l" "Alt Right" { MoveFocusOrTab "Right"; }
        bind "Alt j" "Alt Down" { MoveFocus "Down"; }
        bind "Alt k" "Alt Up" { MoveFocus "Up"; }
        bind "Alt =" "Alt +" { Resize "Increase"; }
        bind "Alt -" { Resize "Decrease"; }
        bind "Alt [" { PreviousSwapLayout; }
        bind "Alt ]" { NextSwapLayout; }
        bind "Alt f" {
            LaunchPlugin "filepicker" {
                floating true
                close_on_selection true
            }
        }
    }
@nocatsnolife nocatsnolife changed the title The filepicker is to be closed as expected The filepicker is not to be closed as expected Oct 31, 2024
@imsnif
Copy link
Member

imsnif commented Oct 31, 2024

You can close it like any other pane with Ctrl p + x.

@nocatsnolife
Copy link
Author

You can close it like any other pane with Ctrl p + x.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants