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

Question/feature request #126

Open
newvladimirov opened this issue Jul 19, 2024 · 1 comment
Open

Question/feature request #126

newvladimirov opened this issue Jul 19, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@newvladimirov
Copy link

Hi! Thanks for your great plugin!

is it possible to start sessionx in the some sort of vim normal mode?
Similar to telescope.nvim initial_mode = "normal", option.
In other words i want to open up the sessionx popup and navigate using j and k, and switch to insert mode only after pressing i.

@omerxx omerxx added the enhancement New feature or request label Sep 23, 2024
@omerxx
Copy link
Owner

omerxx commented Sep 23, 2024

Hey!
So basically, there's no "normal" mode in fzf AFAIK.
What I can do is add a switch and have this added using that:

    --bind 'j:down' 
    --bind 'k:up' 
    --bind 'i:enable-search+unbind(j)+unbind(k)+unbind(i)'

Essentially binding your j,k to up and down and then hitting i again to "go into insert mode" which just unbinds jk back.

Would that do it?

@omerxx omerxx self-assigned this Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants