bind :%y and :%y+

This commit is contained in:
2025-02-19 14:02:01 +02:00
parent a39eb22e24
commit f6e966a790
2 changed files with 24 additions and 4 deletions

View File

@ -422,6 +422,26 @@
desc = "Copy to system clipboard";
};
}
{
mode = [
"n"
];
key = "<leader>%y";
action = ":%y<CR>";
options = {
desc = "Yank the entire file contents";
};
}
{
mode = [
"n"
];
key = "<leader>%Y";
action = ":%y+<CR>";
options = {
desc = "Copy file contents to system clipboard";
};
}
{
mode = [