update yazi config
This commit is contained in:
parent
ced3795edf
commit
f357ee61fa
6 changed files with 58 additions and 45 deletions
|
|
@ -16,17 +16,25 @@ prepend_keymap = [
|
|||
{ on = ["<Right>"], run = ["enter", "escape --visual --select"], desc = "Enter the child directory" },
|
||||
|
||||
# Operation
|
||||
{ on = ["C"], run = "plugin ouch", desc = "Compress" },
|
||||
{ on = ["r"], run = "rename --empty=stem --cursor=start", desc = "Rename a file or directory" },
|
||||
{ on = ["R"], run = "rename --cursor=end", desc = "Rename a file or directory (keeping the current filename)" },
|
||||
{ on = ["d", "d"], run = "remove --force", desc = "Trash selected files" },
|
||||
{ on = ["d", "D"], run = "remove --permanently", desc = "Permanently delete selected files" },
|
||||
{ on = ["d", "t"], run = "plugin recycle-bin", desc = "Open Recycle Bin menu" },
|
||||
{ on = ["d", "u"], run = "plugin restore", desc = "Restore last deleted files/folders" },
|
||||
|
||||
|
||||
# Copy
|
||||
{ on = ["c", "c"], run = "copy path", desc = "Copy the absolute path" },
|
||||
{ on = ["c", "c"], run = "plugin wl-clipboard", desc = "Copy file content" },
|
||||
{ on = ["c", "p"], run = "copy path", desc = "Copy the absolute path" },
|
||||
{ on = ["c", "d"], run = "copy dirname", desc = "Copy the path of the parent directory" },
|
||||
{ on = ["c", "f"], run = "copy filename", desc = "Copy the name of the file" },
|
||||
{ on = ["c", "n"], run = "copy name_without_ext", desc = "Copy the name of the file without the extension" },
|
||||
{ on = ["c", "r"], run = "plugin rsync", desc = "Copy files using rsync" },
|
||||
|
||||
# Goto
|
||||
{ on = ["g", "r"], run = "plugin cd-git-root", desc = "Go to git repo root" },
|
||||
{ on = ["g", "h"], run = "cd ~", desc = "Go home" },
|
||||
{ on = ["g", "c"], run = "cd ~/.config", desc = "Goto ~/.config" },
|
||||
{ on = ["g", "d"], run = "cd ~/Downloads", desc = "Goto ~/Downloads" },
|
||||
|
|
@ -45,6 +53,8 @@ prepend_keymap = [
|
|||
{ on = ["<C-x>", "d"], run = ["shell 'ya pub-to 0 DiffRemote --orphan --list \"$@\"'", "quit"], desc = "Diff with transfer.nvim" },
|
||||
{ on = ["<C-x>", "<S-D>"], run = ["shell 'ya pub-to 0 TransferDirDiff --list \"$@\"'"], desc = "Diff directory with transfer.nvim" },
|
||||
|
||||
# File Info
|
||||
{ on = ["m", "S"], run = "plugin what-size", desc = "Show size of selection or CWD" },
|
||||
]
|
||||
|
||||
[input]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue