jrmoulton / tmux-sessionizer

Tmux Sessionizer: A tool for opening git repositories as tmux sessions
MIT License
459 stars 35 forks source link

map ctrl-k and ctrl-j to up and down #74

Closed emilioziniades closed 9 months ago

emilioziniades commented 9 months ago

In previous versions, ctrl-k and ctrl-j moved up and down in the selection list. I'd like to propose that these mappings are reintroduced.

Admittedly, keybinds are always opinion-based and ideally it's something that should be configurable. But exposing keybinds in the config seems like more complexity and effort than it's worth.

So, I think it's best to follow the principle of least surprise here. There is already a precedent for mapping ctrl-k and ctrl-j to up and down, as this is what fzf does.

emilioziniades commented 9 months ago

hey @jrmoulton I went ahead and rolled a PR for the above. Let me know what you think.