This commit is contained in:
2025-11-10 19:52:45 +02:00
parent 25a7b2d1b4
commit 6fdca49fca
4 changed files with 36 additions and 43 deletions
+8 -3
View File
@@ -3,14 +3,19 @@
[mgr]
prepend_keymap = [
# { on = "<C-y>", run = "plugin wl-clipboard", desc = "Yank to clipboard" },
{ on = "<C-y>", run = 'shell -- for path in "$@"; do echo "file://$path"; done | wl-copy -t text/uri-list' },
{ on = "<C-y>", run = 'shell -- for path in "$@"; do echo "file://$path"; done | wl-copy -t text/uri-list', desc = "Yank to clipboard" },
{ on = "<C-n>", run = 'shell -- dragon-drop -x -a -T -s 256 "$@"', desc = "Open drag and drop window" },
{ on = "!", run = 'shell "$SHELL" --block', desc = "Open $SHELL here" },
{ on = "R", run = "rename --empty=stem --cursor=start", desc = "Rename file full" },
# { on = [
# "g",
# "d",
# ], run = "cd ~/documents", desc = "Goto ~/documents" },
{ on = [
"g",
"d",
], run = "cd ~/documents", desc = "Goto ~/documents" },
"r",
], run = 'shell -- ya emit cd "$(git rev-parse --show-toplevel)"', desc = "Go git root" },
{ on = "<A-s>", run = "search --via=rga", desc = "Search files by content via ripgrep-all" },
]