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