mirror of
https://github.com/LazyVim/starter.git
synced 2026-07-25 14:01:03 +00:00
feat(keymaps): add clipboard copy for terminal visual mode
This commit is contained in:
parent
848664a376
commit
f1569f4ac7
1 changed files with 3 additions and 0 deletions
|
|
@ -79,3 +79,6 @@ keyset("v", "<D-v>", '"_d"+gP', { desc = "Remove the selected part and paste fro
|
|||
keyset("v", "<D-c>", '"+y', { desc = "Copy to clipboard in visual mode" })
|
||||
keyset("v", "<D-x>", '"+d', { desc = "Cut to clipboard" })
|
||||
map_nv("<D-a>", "gg<S-v>G", { desc = "Select all" })
|
||||
if vim.fn.has("gui_running") == 0 then
|
||||
keyset("v", "<leader>y", '"+y', { desc = "Terminal: copy to system clipboard in visual mode" })
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue