mirror of
https://github.com/Baipyrus/nvim-config.git
synced 2024-12-24 12:21:46 +00:00
bugfix: extract insert-mode to separate keymap
This commit is contained in:
parent
b85dd68579
commit
a1ad7012fa
@ -62,7 +62,9 @@ vim.keymap.set({ 'n', 'v' }, '<M-->', '<C-W>-')
|
||||
if vim.g.neovide then
|
||||
-- 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', 'i', 'v' }, '<C-S-v>', '"+p', { desc = 'Paste from System clipboard' })
|
||||
vim.keymap.set({ 'n', 'v' }, '<C-S-v>', '"+p', { desc = 'Paste from System clipboard' })
|
||||
-- Clipboard for insert mode
|
||||
vim.keymap.set({ 'i' }, '<C-S-v>', '<Esc>"+pi', { desc = 'Paste from System clipboard' })
|
||||
-- Clipboard for command mode
|
||||
vim.keymap.set('c', '<C-S-v>', '<C-R>+', { desc = 'Paste from System clipboard' })
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user