mirror of https://github.com/lapce/lapce.git
Don't handle navigation commands in terminal mode
This commit is contained in:
parent
b8364f0e27
commit
1401fbbc5b
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue