finger crackers to access the clipboard
This commit is contained in:
@@ -69,6 +69,10 @@ nnoremap <silent> gb :bn<CR>
|
||||
noremap p p`[
|
||||
noremap P P`[
|
||||
|
||||
xnoremap "+y y:call system("wl-copy", @")<cr>
|
||||
nnoremap "+p :let @"=substitute(system("wl-paste --no-newline"), '<C-v><C-m>', '', 'g')<cr>p
|
||||
nnoremap "*p :let @"=substitute(system("wl-paste --no-newline --primary"), '<C-v><C-m>', '', 'g')<cr>p
|
||||
|
||||
augroup vimrc
|
||||
autocmd!
|
||||
autocmd BufNewFile,BufRead *.pdc,*.pandoc setlocal filetype=markdown
|
||||
|
||||
Reference in New Issue
Block a user