mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
feat: toggle selection using Shift-cursor
This commit is contained in:
parent
2d55c9427d
commit
e2b590cc59
1 changed files with 6 additions and 1 deletions
|
|
@ -43,7 +43,12 @@ keymap = [
|
|||
{ on = "L", run = "forward", desc = "Forward to next directory" },
|
||||
|
||||
# Toggle
|
||||
{ on = "<Space>", run = [ "toggle", "arrow next" ], desc = "Toggle the current selection state" },
|
||||
{ on = "<Space>", run = [ "toggle", "arrow next" ], desc = "Toggle the current selection state" },
|
||||
{ on = "<S-Down>", run = [ "toggle", "arrow next" ], desc = "Toggle the current selection state" },
|
||||
{ on = "J", run = [ "toggle", "arrow next" ], desc = "Toggle the current selection state" },
|
||||
{ on = "<S-Up>", run = [ "toggle", "arrow prev" ], desc = "Toggle the current selection state" },
|
||||
{ on = "K", run = [ "toggle", "arrow prev" ], desc = "Toggle the current selection state" },
|
||||
|
||||
{ on = "<C-a>", run = "toggle_all --state=on", desc = "Select all files" },
|
||||
{ on = "<C-r>", run = "toggle_all", desc = "Invert selection of all files" },
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue