mirror of
https://github.com/sxyazi/yazi.git
synced 2024-12-18 22:31:35 +03:00
fix: Use <A-k>
, <A-j>
as peek keys to avoid conflicts with <Enter>
in terminals that do not support CSI u
This commit is contained in:
parent
d0c17ca222
commit
a1c853de9f
@ -25,8 +25,8 @@ keymap = [
|
||||
{ on = [ "H" ], exec = "back", desc = "Go back to the previous directory" },
|
||||
{ on = [ "L" ], exec = "forward", desc = "Go forward to the next directory" },
|
||||
|
||||
{ on = [ "<C-k>" ], exec = "peek -5", desc = "Peek up 5 units in the preview" },
|
||||
{ on = [ "<C-j>" ], exec = "peek 5", desc = "Peek down 5 units in the preview" },
|
||||
{ on = [ "<A-k>" ], exec = "peek -5", desc = "Peek up 5 units in the preview" },
|
||||
{ on = [ "<A-j>" ], exec = "peek 5", desc = "Peek down 5 units in the preview" },
|
||||
|
||||
{ on = [ "<Up>" ], exec = "arrow -1", desc = "Move cursor up" },
|
||||
{ on = [ "<Down>" ], exec = "arrow 1", desc = "Move cursor down" },
|
||||
|
Loading…
Reference in New Issue
Block a user