add yank to system clipboard
This commit is contained in:
		@@ -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')
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user