add yank to system clipboard
This commit is contained in:
parent
2f532d405d
commit
c329108285
@ -11,6 +11,9 @@ function imap(shortcut, command)
|
||||
map('i', shortcut, command)
|
||||
end
|
||||
|
||||
function vmap(shortcut, command)
|
||||
map('v', shortcut, command)
|
||||
end
|
||||
function xmap(shortcut, command)
|
||||
map('x', shortcut, command)
|
||||
end
|
||||
@ -30,3 +33,5 @@ nmap("<leader>r",":NvimTreeRefresh<cr>")
|
||||
nmap("<leader>n",":NvimTreeToggle<cr>")
|
||||
|
||||
nmap("<leader>zn","zf%")
|
||||
nmap("<leader>y",'\"+y')
|
||||
vmap("<leader>y",'\"+y')
|
||||
|
Loading…
Reference in New Issue
Block a user