[feature] \y copy to Windows Clipboard in WSL

This commit is contained in:
root 2021-06-06 21:46:27 +08:00
parent 7ddc908de8
commit 7aeb425221

View File

@ -62,6 +62,8 @@ nnoremap <leader>5 :b5<CR>
nnoremap <leader>w :w<CR> nnoremap <leader>w :w<CR>
nnoremap <leader><Esc> :noh<return><esc> nnoremap <leader><Esc> :noh<return><esc>
xnoremap <leader>y <esc>:'<,'>:w !clip.exe<CR>
nmap <leader>"" ysiW" nmap <leader>"" ysiW"
nmap <leader>'' ysiW' nmap <leader>'' ysiW'
nmap <leader>" ysiw" nmap <leader>" ysiw"