PeepOpen-Issues
PeepOpen-Issues copied to clipboard
implement motion keys to match application?
Idea: implement motion keys for navigating through peepopen dialogue that can match the application (vim, emacs, etc)
Are there specific ones you're missing?
For Emacs, Ctrl-n (next), Ctrl-p (previous), and Ctrl-m (enter) work already.
I was thinking j,k, ENTER while navigating the list (aka vi/vim)
How do you imagine that working? I haven't been able to figure out how one would navigate Vim style in PeepOpen.
Right now if I type "j" or "k", it searches for those letters.
Hitting ESC hides the PeepOpen window, so it would be hard to go into command mode as you can in Vim.
Hitting ENTER choose an item already.
Ctrl-j and Ctrl-k would be an option, except that Ctrl-k is already used by the operating system for "kill line" (from Emacs).
I'm not in front of a machine with PeepOpen at the moment, but I was imagining that if one hits tab to bring the list to focus, then j/k would move down/up ... tab again would bring focus back to the search/text/whateveryoucallit area.
It'd be nice if you could at least toggle on the Ctrl-j and Ctrl-k bindings for down and up. That is, if you can override Ctrl-k for 'kill line'. I know not everyone would be happy with that, so it'd be nice if it was an option.
I was about to put in a similar request, and I agree with tgray completely. This is how the vim command-t plugin works, I assume I'm not the only one making the switch from command-t in vim to this.
The Command-T plugin also allows you to bind other keys to open files in split or vsplit mode. I'll go see if I can find a more relevant place to post more about that, specifically.