tab for completion

This commit is contained in:
Dongdong Zhou 2022-05-20 13:19:35 +01:00
parent cf15ca235f
commit 4f697e4aaa
1 changed files with 6 additions and 1 deletions

View File

@ -115,6 +115,11 @@ key = "ctrl+m"
command = "list.select"
when = "list_focus"
[[keymaps]]
key = "tab"
command = "list.select"
when = "completion_focus"
[[keymaps]]
key = "enter"
command = "list.select"
@ -220,7 +225,7 @@ mode = "i"
[[keymaps]]
key = "tab"
command = "insert_tab"
when = "!in_snippet"
when = "!in_snippet && !completion_focus"
mode = "i"
[[keymaps]]