Don't handle navigation commands in terminal mode

This commit is contained in:
Dániel Buga 2022-04-19 21:50:11 +02:00 committed by Dongdong Zhou
parent b8364f0e27
commit 1401fbbc5b
1 changed files with 6 additions and 0 deletions

View File

@ -29,10 +29,12 @@ mode = "i"
[[keymaps]] [[keymaps]]
key = "Home" key = "Home"
command = "line_start_non_blank" command = "line_start_non_blank"
mode = "inv"
[[keymaps]] [[keymaps]]
key = "End" key = "End"
command = "line_end" command = "line_end"
mode = "inv"
[[keymaps]] [[keymaps]]
key = "PageUp" key = "PageUp"
@ -167,20 +169,24 @@ mode = "i"
[[keymaps]] [[keymaps]]
key = "right" key = "right"
command = "right" command = "right"
mode = "inv"
[[keymaps]] [[keymaps]]
key = "left" key = "left"
command = "left" command = "left"
mode = "inv"
[[keymaps]] [[keymaps]]
key = "up" key = "up"
command = "up" command = "up"
when = "!list_focus" when = "!list_focus"
mode = "inv"
[[keymaps]] [[keymaps]]
key = "down" key = "down"
command = "down" command = "down"
when = "!list_focus" when = "!list_focus"
mode = "inv"
[[keymaps]] [[keymaps]]
key = "ctrl+h" key = "ctrl+h"