Fix clipboard yanks
This commit is contained in:
parent
006f59f6d0
commit
4b371ef91c
@ -41,12 +41,13 @@ vim.keymap.set('n', '<c-c><c-c>', '<cmd>nohlsearch<cr>')
|
|||||||
vim.keymap.set('n', '<leader><leader>', '<cmd>b#<cr>')
|
vim.keymap.set('n', '<leader><leader>', '<cmd>b#<cr>')
|
||||||
vim.keymap.set('n', '<leader>w', '<cmd>w<cr>')
|
vim.keymap.set('n', '<leader>w', '<cmd>w<cr>')
|
||||||
vim.keymap.set('n', '<leader>x', '<cmd>x<cr>')
|
vim.keymap.set('n', '<leader>x', '<cmd>x<cr>')
|
||||||
|
vim.keymap.set('n', 'Y', 'y$')
|
||||||
vim.keymap.set('n', 'j', 'gj')
|
vim.keymap.set('n', 'j', 'gj')
|
||||||
vim.keymap.set('n', 'k', 'gk')
|
vim.keymap.set('n', 'k', 'gk')
|
||||||
|
|
||||||
-- clipboard keymaps
|
-- clipboard keymaps
|
||||||
vim.keymap.set({'n', 'v'}, '<leader>P', '"+P')
|
vim.keymap.set({'n', 'v'}, '<leader>P', '"+P')
|
||||||
vim.keymap.set({'n', 'v'}, '<leader>Y', '"+Y')
|
vim.keymap.set({'n', 'v'}, '<leader>Y', '"+y$')
|
||||||
vim.keymap.set({'n', 'v'}, '<leader>d', '"+d')
|
vim.keymap.set({'n', 'v'}, '<leader>d', '"+d')
|
||||||
vim.keymap.set({'n', 'v'}, '<leader>p', '"+p')
|
vim.keymap.set({'n', 'v'}, '<leader>p', '"+p')
|
||||||
vim.keymap.set({'n', 'v'}, '<leader>y', '"+y')
|
vim.keymap.set({'n', 'v'}, '<leader>y', '"+y')
|
||||||
|
Loading…
Reference in New Issue
Block a user