feat(nvim): add system clipboard keymaps
This commit is contained in:
parent
13bea63f5d
commit
07da42ee51
1 changed files with 18 additions and 0 deletions
|
|
@ -25,6 +25,24 @@
|
|||
options.desc = "Yank";
|
||||
mode = ["v"];
|
||||
}
|
||||
{
|
||||
key = "<leader>y";
|
||||
action = "\"+ygv<esc>";
|
||||
options.desc = "Yank to system clipboard";
|
||||
mode = ["v" "x"];
|
||||
}
|
||||
{
|
||||
key = "<leader>y";
|
||||
action = "\"+y";
|
||||
options.desc = "Yank to system clipboard";
|
||||
mode = ["n"];
|
||||
}
|
||||
{
|
||||
key = "<leader>d";
|
||||
action = "\"+d";
|
||||
options.desc = "Delete to system clipboard";
|
||||
mode = ["n" "v" "x"];
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue