mirror of
https://github.com/sxyazi/yazi.git
synced 2024-09-11 18:38:19 +03:00
Change the default keymap for creating links
I removed the absolute link key since absolute path symlinks are usually not desired as they don't work if the filesystem is ever mounted in a different path.
This commit is contained in:
parent
1f3fad2322
commit
e6a5cc26d4
@ -69,8 +69,8 @@ keymap = [
|
|||||||
{ on = "X", run = "unyank", desc = "Cancel the yank status of files" },
|
{ on = "X", run = "unyank", desc = "Cancel the yank status of files" },
|
||||||
{ on = "p", run = "paste", desc = "Paste the files" },
|
{ on = "p", run = "paste", desc = "Paste the files" },
|
||||||
{ on = "P", run = "paste --force", desc = "Paste the files (overwrite if the destination exists)" },
|
{ on = "P", run = "paste --force", desc = "Paste the files (overwrite if the destination exists)" },
|
||||||
{ on = "-", run = "link", desc = "Symlink the absolute path of files" },
|
{ on = "-", run = "link --relative", desc = "Symlink the files" },
|
||||||
{ on = "_", run = "link --relative", desc = "Symlink the relative path of files" },
|
{ on = "_", run = "link --hard", desc = "Hardlink the files" },
|
||||||
{ on = "d", run = "remove", desc = "Move the files to the trash" },
|
{ on = "d", run = "remove", desc = "Move the files to the trash" },
|
||||||
{ on = "D", run = "remove --permanently", desc = "Permanently delete the files" },
|
{ on = "D", run = "remove --permanently", desc = "Permanently delete the files" },
|
||||||
{ on = "a", run = "create", desc = "Create a file or directory (ends with / for directories)" },
|
{ on = "a", run = "create", desc = "Create a file or directory (ends with / for directories)" },
|
||||||
|
Loading…
Reference in New Issue
Block a user