mirror of
https://github.com/Baipyrus/nvim-config.git
synced 2024-12-25 21:01:45 +00:00
bugfix: added system clipboard paste in insert mode
This commit is contained in:
parent
4c2f4424f7
commit
d315af770e
@ -56,7 +56,7 @@ vim.keymap.set('n', '<C-S-k>', '<cmd>cprev<cr>')
|
|||||||
if vim.g.neovide then
|
if vim.g.neovide then
|
||||||
-- System clipboard keybinds in normal and visual mode
|
-- System clipboard keybinds in normal and visual mode
|
||||||
vim.keymap.set({ 'n', 'v' }, '<C-S-C>', '"+y', { desc = 'Yank to System clipboard' })
|
vim.keymap.set({ 'n', 'v' }, '<C-S-C>', '"+y', { desc = 'Yank to System clipboard' })
|
||||||
vim.keymap.set({ 'n', 'v' }, '<C-S-V>', '"+p', { desc = 'Paste from System clipboard' })
|
vim.keymap.set({ 'n', 'i', 'v' }, '<C-S-V>', '"+p', { desc = 'Paste from System clipboard' })
|
||||||
-- Clipboard for command mode
|
-- Clipboard for command mode
|
||||||
vim.keymap.set('c', '<C-S-V>', '<C-R>+', { desc = 'Paste from System clipboard' })
|
vim.keymap.set('c', '<C-S-V>', '<C-R>+', { desc = 'Paste from System clipboard' })
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user