nvim: Use <esc> to close cmp
This commit is contained in:
parent
5c3bea346e
commit
91dd2820c7
1 changed files with 1 additions and 0 deletions
|
@ -30,6 +30,7 @@
|
||||||
{:name :path}])
|
{:name :path}])
|
||||||
:mapping (cmp.mapping.preset.insert {:<C-e> (cmp.mapping {:i (cmp.mapping.abort)
|
:mapping (cmp.mapping.preset.insert {:<C-e> (cmp.mapping {:i (cmp.mapping.abort)
|
||||||
:c (cmp.mapping.close)})
|
:c (cmp.mapping.close)})
|
||||||
|
:<esc> (cmp.mapping {:i (cmp.mapping.abort)})
|
||||||
:<Tab> (cmp.mapping {:c #(if (cmp.visible)
|
:<Tab> (cmp.mapping {:c #(if (cmp.visible)
|
||||||
(cmp.select_next_item {:behavior cmp.SelectBehavior.Insert})
|
(cmp.select_next_item {:behavior cmp.SelectBehavior.Insert})
|
||||||
(cmp.complete))
|
(cmp.complete))
|
||||||
|
|
Loading…
Reference in a new issue