10000 Why vim keys does not work in fuzzy search · Issue #745 · atom/vim-mode · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Apr 6, 2018. It is now read-only.

Why vim keys does not work in fuzzy search #745

Closed
gingray opened this issue Jul 7, 2015 · 2 comments
Closed

Why vim keys does not work in fuzzy search #745

gingray opened this issue Jul 7, 2015 · 2 comments

Comments

@gingray
Copy link
gingray commented Jul 7, 2015

Why vim keys does not work in fuzzy search? I mean it was really good to do this ctrl + j and ctrl + k (to move up and down). Is it possible to do ?

@bronson
Copy link
Contributor
bronson commented Jul 9, 2015

But then how would you add a 'j' or 'k' to the search?

If you don't mind skipping Js and Ks, it might be just a matter of keybindings. Fuzzy Finder uses a SelectList view from atom-space-pen-views, so you just need to bind core:move-up and core:move-down.

But I don't know of a way to create a binding that only applies when a SelectList is active... Maybe ask on the forums?

@gingray
Copy link
Author
gingray commented Jul 9, 2015

@bronson Thanks for response yup i've configured in my keymap.cson here the config (i also add same navigation to search)

'.select-list.fuzzy-finder .editor':
  'ctrl-j': 'core:move-down'
  'ctrl-k': 'core:move-up'

'.preview-pane.pane-item':
  'ctrl-j': 'core:move-down'
  'ctrl-k': 'core:move-up'

@gingray gingray closed this as completed Jul 9, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
0