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]]
key = "Home"
command = "line_start_non_blank"
mode = "inv"
[[keymaps]]
key = "End"
command = "line_end"
mode = "inv"
[[keymaps]]
key = "PageUp"
@ -167,20 +169,24 @@ mode = "i"
[[keymaps]]
key = "right"
command = "right"
mode = "inv"
[[keymaps]]
key = "left"
command = "left"
mode = "inv"
[[keymaps]]
key = "up"
command = "up"
when = "!list_focus"
mode = "inv"
[[keymaps]]
key = "down"
command = "down"
when = "!list_focus"
mode = "inv"
[[keymaps]]
key = "ctrl+h"