mirror of
https://github.com/akr2002/nv.git
synced 2024-11-09 10:39:44 +00:00
add insert mode for completion
This commit is contained in:
parent
67766cd5f4
commit
e0e9d9a4e6
1 changed files with 2 additions and 3 deletions
|
@ -48,7 +48,7 @@
|
||||||
|
|
||||||
mapping = {
|
mapping = {
|
||||||
"<Tab>" = {
|
"<Tab>" = {
|
||||||
modes = ["v" "s"];
|
modes = ["i" "v" "s"];
|
||||||
action = ''
|
action = ''
|
||||||
function(fallback)
|
function(fallback)
|
||||||
if cmp.visible() then
|
if cmp.visible() then
|
||||||
|
@ -62,7 +62,7 @@
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
"<S-Tab>" = {
|
"<S-Tab>" = {
|
||||||
modes = ["v" "s"];
|
modes = ["i" "v" "s"];
|
||||||
action = ''
|
action = ''
|
||||||
function(fallback)
|
function(fallback)
|
||||||
if cmp.visible() then
|
if cmp.visible() then
|
||||||
|
@ -164,4 +164,3 @@
|
||||||
}),
|
}),
|
||||||
}) '';
|
}) '';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue