feat: nvim visual mode <Leader>y

This commit is contained in:
AngeD 2022-09-27 11:02:37 +02:00
parent 900360af18
commit ff220bf4b7

View File

@ -55,3 +55,6 @@ vim.keymap.set("n", "<Leader>f", "<cmd>%s/\\s\\+$//e<CR>")
-- copy entire file to graphical buffer
vim.keymap.set("n", "<Leader>y", 'ggVG"+y<C-o>' )
-- copy selection to graphical buffer
vim.keymap.set("v", "<Leader>y", '"+y' )