PeepOpen-Issues icon indicating copy to clipboard operation
PeepOpen-Issues copied to clipboard

implement motion keys to match application?

Open fncll opened this issue 13 years ago • 6 comments

Idea: implement motion keys for navigating through peepopen dialogue that can match the application (vim, emacs, etc)

fncll avatar Nov 24 '11 21:11 fncll

Are there specific ones you're missing?

For Emacs, Ctrl-n (next), Ctrl-p (previous), and Ctrl-m (enter) work already.

topfunky avatar Nov 30 '11 00:11 topfunky

I was thinking j,k, ENTER while navigating the list (aka vi/vim)

fncll avatar Nov 30 '11 01:11 fncll

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).

topfunky avatar Nov 30 '11 01:11 topfunky

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.

fncll avatar Nov 30 '11 01:11 fncll

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.

tgray avatar Dec 12 '11 19:12 tgray

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.

hk0i avatar May 18 '12 02:05 hk0i