Enable copy from nvim to system clipboard using <ctrl>+c

This commit is contained in:
Selim Mustafaev 2024-12-29 21:44:50 +03:00
parent e70613ab2f
commit 535331b3bf

View File

@ -26,6 +26,7 @@ vim.g.loaded_netrwPlugin = 1
-- Example for <cmd>+s -> <ctrl>+s mapping - https://stackoverflow.com/a/63458243/11589661
vim.keymap.set({"n", "i"}, "<C-s>", "<cmd>w<CR>")
vim.keymap.set({"v"}, "<C-c>", '"+y')
-- Lazy.nvim