t9md / atom-vim-mode-plus

vim-mode improved

Home Page:https://atom.io/packages/vim-mode-plus

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This is a feature request, not a bug submission

linjialiang opened this issue · comments

In the pop-up window interface (such as ctrl-shift-p ctrl-p ctrl-b), use ctrl-j and ctrl-h to move up and down

Popup window options

code completion moves up and down using ctrl-j and ctrl-h

code completion

@t9md I'm very sorry!
I don't know whether the request is submitted to you or to atom

commented

Actually, your question is not vim-mode-plus related, but I will help you this time.
You can set below in your keymap.cson

Note: I use ctrl-k and ctrl-j to move up/down in menu items. You can replace whichever key you want.

# When autocomplete plus pop-up active in insert-mode
'atom-text-editor.vim-mode-plus.insert-mode.autocomplete-active':
  'ctrl-k': 'core:move-up'
  'ctrl-j': 'core:move-down'

# In select-list such like fuzzy-finder
'.select-list atom-text-editor':
  'ctrl-k': 'core:move-up'
  'ctrl-j': 'core:move-down'

For further information, read keymap in depth.

@t9md Thank you very much for your help

@t9md It works, but there's a puzzle:
Press down a few times with the ctrl-j shortcut key, and when you're ready to use ctrl-j you need to push the button twice, and vice versa

I think atom itself caused this, but I think it should be solved. Can you continue to help me?Thank you very much!

commented

Sorry, I cannot help you further. Lean Atom or ask in Atom Slack channel.

@t9md In fact, I've been blocked from the atom website