From 495bf819daebfa70cdeb72c791b4bdb32f2336ba Mon Sep 17 00:00:00 2001 From: ahanniga Date: Sat, 10 Aug 2024 22:30:45 +0100 Subject: [PATCH 1/2] Added hard links to keymap (ctrl-h proposed) --- yazi-config/preset/keymap.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/yazi-config/preset/keymap.toml b/yazi-config/preset/keymap.toml index 9a2b7c28b..b64b1e184 100644 --- a/yazi-config/preset/keymap.toml +++ b/yazi-config/preset/keymap.toml @@ -64,6 +64,7 @@ keymap = [ { on = "P", run = "paste --force", desc = "Paste yanked files (overwrite if the destination exists)" }, { on = "-", run = "link", desc = "Symlink the absolute path of yanked files" }, { on = "_", run = "link --relative", desc = "Symlink the relative path of yanked files" }, + { on = "", run = "hardlink", desc = "Create hard links to the yanked files" }, { on = "Y", run = "unyank", desc = "Cancel the yank status" }, { on = "X", run = "unyank", desc = "Cancel the yank status" }, { on = "d", run = "remove", desc = "Trash selected files" }, From fd5baf6b2ed6006295d4c805174c9b94f258c672 Mon Sep 17 00:00:00 2001 From: sxyazi Date: Thu, 15 Aug 2024 21:44:23 +0800 Subject: [PATCH 2/2] .. --- yazi-config/preset/keymap.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yazi-config/preset/keymap.toml b/yazi-config/preset/keymap.toml index b64b1e184..7091faaf1 100644 --- a/yazi-config/preset/keymap.toml +++ b/yazi-config/preset/keymap.toml @@ -64,7 +64,7 @@ keymap = [ { on = "P", run = "paste --force", desc = "Paste yanked files (overwrite if the destination exists)" }, { on = "-", run = "link", desc = "Symlink the absolute path of yanked files" }, { on = "_", run = "link --relative", desc = "Symlink the relative path of yanked files" }, - { on = "", run = "hardlink", desc = "Create hard links to the yanked files" }, + { on = "", run = "hardlink", desc = "Hardlink yanked files" }, { on = "Y", run = "unyank", desc = "Cancel the yank status" }, { on = "X", run = "unyank", desc = "Cancel the yank status" }, { on = "d", run = "remove", desc = "Trash selected files" },