Yank to clipboard
This commit is contained in:
parent
a882e4e72b
commit
5b5f692021
@ -30,6 +30,7 @@ vim.opt.spell = false
|
||||
vim.opt.swapfile = false
|
||||
vim.opt.tabstop = 4
|
||||
vim.opt.termguicolors = true
|
||||
vim.opt.clipboard = 'unnamedplus'
|
||||
vim.opt.updatetime = 300
|
||||
vim.opt.wrap = false
|
||||
vim.opt.writebackup = false
|
||||
@ -45,13 +46,6 @@ vim.keymap.set('n', 'Y', 'y$')
|
||||
vim.keymap.set('n', 'j', 'gj')
|
||||
vim.keymap.set('n', 'k', 'gk')
|
||||
|
||||
-- clipboard keymaps
|
||||
vim.keymap.set({'n', 'v'}, '<leader>P', '"+P')
|
||||
vim.keymap.set({'n', 'v'}, '<leader>Y', '"+y$')
|
||||
vim.keymap.set({'n', 'v'}, '<leader>d', '"+d')
|
||||
vim.keymap.set({'n', 'v'}, '<leader>p', '"+p')
|
||||
vim.keymap.set({'n', 'v'}, '<leader>y', '"+y')
|
||||
|
||||
-- split keymaps
|
||||
vim.keymap.set('n', '<a-=>', '<c-w><c-=>')
|
||||
vim.keymap.set('n', '<a-h>', '<c-w><')
|
||||
|
Loading…
Reference in New Issue
Block a user