In the example below, how do I use <tab>
to select HttpResponse
the item instead of <enter>
? I'd like to make this change permanent.
This is using Kite within vim in case it matters.
Vi and Vim Stack Exchange is a question and answer site for people using the vi and Vim families of text editors. It only takes a minute to sign up.
Sign up to join this communityIn the example below, how do I use <tab>
to select HttpResponse
the item instead of <enter>
? I'd like to make this change permanent.
This is using Kite within vim in case it matters.
You need this map:
inoremap <expr> <TAB> pumvisible() ? "<C-y>" : "<TAB>"
If PUM (complete menu) is visible, then execute <C-y>
(which selects an item), otherwise, do a normal tab.
:h popupmenu-keys
. I think there it explains how to map something down there. – Quasímodo Feb 21 at 12:29