feat: add keybinding for the hardlink command (#1461)

Co-authored-by: ahanniga <ahanniga@ibm.com>
Co-authored-by: sxyazi <sxyazi@gmail.com>
This commit is contained in:
Aidan Hannigan 2024-08-15 14:45:46 +01:00 committed by GitHub
parent 77d1817771
commit c43db9cf56
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 = "<C-->", 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" },