cleanup
This commit is contained in:
parent
1165454fc3
commit
c7cb20b7be
16 changed files with 191 additions and 378 deletions
|
@ -7,10 +7,13 @@
|
|||
initLua = ../../homes/emenel/dotfiles/dot_config/yazi/init.lua;
|
||||
keymap = {
|
||||
manager.prepend_keymap = [
|
||||
{ on = ["c" "d"]; run = "shell 'ripdrag \"$@\" -x 2>/dev/null &' --confirm"; desc = "drag selection";}
|
||||
{ on = ["c" "d"]; run = "shell 'ripdrag \"$@\" -x 2>/dev/null &' --confirm"; desc = "Drag selection";}
|
||||
{ on = ["c" "c"]; run = "yank"; desc = "Copy file"; }
|
||||
{ on = ["c" "n"]; run = "copy filename"; desc = "Copy file name"; }
|
||||
{ on = ["c" "N"]; run = "copy name_without_ext"; desc = "Copy file name without extension"; }
|
||||
{ on = "y"; run = ["shell 'for path in \"$@\"; do echo \"file://$path\"; done | wl-copy -t text/uri-list'\n" "yank"]; }
|
||||
{ on = ["g" "r"]; run = "shell 'ya emit cd \"$(git rev-parse --show-toplevel)\"'\n"; desc = "go to top of git repo"; }
|
||||
{ on = ["g" "p"]; run = "cd ~/Projects"; desc = "go to ~/Projects"; }
|
||||
{ on = ["g" "r"]; run = "shell 'ya emit cd \"$(git rev-parse --show-toplevel)\"'\n"; desc = "Go to top of git repo"; }
|
||||
{ on = ["g" "p"]; run = "cd ~/Projects"; desc = "Go to ~/Projects"; }
|
||||
{ on = ["t" "p"]; run = "plugin toggle-view parent"; desc = "Toggle parent"; }
|
||||
{ on = ["t" "c"]; run = "plugin toggle-view current"; desc = "Toggle current"; }
|
||||
{ on = ["t" "r"]; run = "plugin toggle-view preview"; desc = "Toggle preview"; }
|
||||
|
@ -32,6 +35,8 @@
|
|||
{ on = "l"; run = "plugin smart-enter"; desc = "Enter the child directory, or open the file"; }
|
||||
{ on = "<Enter>"; run = "plugin smart-enter"; desc = "Enter the child directory, or open the file"; }
|
||||
{ on = "<Right>"; run = "plugin smart-enter"; desc = "Enter the child directory, or open the file"; }
|
||||
{ on = "<Delete>"; run = "remove"; }
|
||||
{ on = "<Backspace>"; run = "remove"; }
|
||||
];
|
||||
};
|
||||
settings = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue