diff options
Diffstat (limited to '.local/bin/shortcuts')
-rwxr-xr-x | .local/bin/shortcuts | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/.local/bin/shortcuts b/.local/bin/shortcuts index bc2fb9e..49e7ac1 100755 --- a/.local/bin/shortcuts +++ b/.local/bin/shortcuts @@ -57,3 +57,12 @@ awk "!/^\s*#/ && !/^\s*\$/ {gsub(\"\\\s*#.*$\",\"\"); if (i < length(a)) chars = chars \", \" } printf(\"[[mgr.prepend_keymap]]\\non = [\\\"e\\\", %s]\\nrun = 'shell --block \\\"\$EDITOR %s\\\"'\\n\\n\", chars, \$2) >> \"$yazi_shortcuts\" }" + +cat <<EOL >> "$yazi_shortcuts" +[[mgr.prepend_keymap]] +on = "<C-n>" +run = ''' + shell 'dragon-drop --and-exit --on-top "\$@"' --confirm +''' +desc = "Open the drag and drop utility" +EOL |