mirror of
https://github.com/Baipyrus/nvim-config.git
synced 2024-11-14 21:13:49 +00:00
replace insert mode pasting
This commit is contained in:
parent
7f9256b56c
commit
4675abf4fa
@ -65,10 +65,8 @@ 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', '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' })
|
||||
-- Clipboard for command and insert mode
|
||||
vim.keymap.set({ 'c', 'i' }, '<C-S-v>', '<C-R>+', { desc = 'Paste from System clipboard' })
|
||||
end
|
||||
|
||||
-- [[ Basic Autocommands ]]
|
||||
|
Loading…
Reference in New Issue
Block a user