vimrc: add mapping to browse old files

This commit is contained in:
surtur 2022-08-09 17:56:10 +02:00
parent cee0d37c81
commit 5b25502440
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

View File

@ -458,7 +458,10 @@ xnoremap <silent>"+y y:call system("wl-copy", @")<cr>
nnoremap <silent>"+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
"------------------------------------
" [bro]wse [ol]d files
nnoremap <leader>r :bro ol<cr>
" go_tags
"------------------------------------
exec "source " . escape(expand("~/.vim"),' ') . "/" . "gotags.vimrc"