feat: toggle selection using Shift-cursor

This commit is contained in:
Stephan Hradek 2025-11-25 09:20:15 +01:00
parent 2d55c9427d
commit e2b590cc59
No known key found for this signature in database
GPG key ID: DDF026DB9AE9A387

View file

@ -44,6 +44,11 @@ keymap = [
# Toggle
{ 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" },