bind :%y and :%y+
This commit is contained in:
@ -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 = [
|
||||
|
6
flake.lock
generated
6
flake.lock
generated
@ -251,11 +251,11 @@
|
||||
"treefmt-nix": "treefmt-nix"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1737385899,
|
||||
"narHash": "sha256-/zyvdstDpPhc5lhFMtKgyQdU2oXGXDb0cg4BY91NKvg=",
|
||||
"lastModified": 1739527837,
|
||||
"narHash": "sha256-dsb5iSthp5zCWhdV0aXPunFSCkS0pCvRXMMgTEFjzew=",
|
||||
"owner": "nix-community",
|
||||
"repo": "nixvim",
|
||||
"rev": "115994f18e439a1cca9cdaaf15c004870256814d",
|
||||
"rev": "a39e0a651657046f3b936d842147fa51523b6818",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
Reference in New Issue
Block a user