mirror of
https://github.com/theniceboy/.config.git
synced 2025-12-26 22:54:59 +08:00
yazi keymap config for spot
This commit is contained in:
parent
dc2f045de4
commit
e4ca9f1833
1 changed files with 21 additions and 0 deletions
|
|
@ -19,6 +19,9 @@ prepend_keymap = [
|
|||
"'",
|
||||
"r",
|
||||
], run = "plugin yamb --args=delete_by_key", desc = "Delete bookmark by key" },
|
||||
{ on = [
|
||||
"P",
|
||||
], run = "spot", desc = "Open spotter" },
|
||||
]
|
||||
|
||||
keymap = [
|
||||
|
|
@ -179,6 +182,24 @@ keymap = [
|
|||
{ on = "<F1>", run = "help", desc = "Open help" },
|
||||
]
|
||||
|
||||
[spot]
|
||||
keymap = [
|
||||
# Navigation
|
||||
{ on = "u", run = "arrow -1", desc = "Move up" },
|
||||
{ on = "e", run = "arrow 1", desc = "Move down" },
|
||||
|
||||
# Close
|
||||
{ on = "<Esc>", run = "close", desc = "Close spotter" },
|
||||
{ on = "q", run = "close", desc = "Close spotter" },
|
||||
|
||||
# Swipe through files
|
||||
{ on = "<C-u>", run = "swipe -5", desc = "Swipe 5 files up" },
|
||||
{ on = "<C-e>", run = "swipe 5", desc = "Swipe 5 files down" },
|
||||
|
||||
# Copy content
|
||||
{ on = "y", run = "copy cell", desc = "Copy cell content" },
|
||||
]
|
||||
|
||||
[tasks]
|
||||
|
||||
keymap = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue