My vim configuration
git clone https://mcol.xyz/code/vim-misc
Log | Files | Refs | README

commit 94f56dc1e799950f66f99679c0b84a8c7dc8ef66
parent 979fec661d874cb0d7a9ab87b07f1dfbabd67a4d
Author: mcol <mcol@posteo.net>
Date:   Sat,  1 Jun 2019 15:44:26 +0100

updating paper list will restore vim to original state

Diffstat:
Mftplugin/vimwiki.vim | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ftplugin/vimwiki.vim b/ftplugin/vimwiki.vim @@ -26,7 +26,7 @@ nmap <buffer> g<CR> /[[<CR><CR> nmap <buffer> <Leader>p 0f\|yy<CR>Pdf\|$xx===o<CR> " open pdf from papers page -nmap <buffer> <Leader>o 0f\|lvt]y:let a = substitute(@*, ' ', '_', 'g') \| !qpdfview --unique "~/work/research/papers/" . a . ".pdf" & +nmap <buffer> <Leader>o 0f\|lvt]y:let a = substitute(@*, ' ', '_', 'g') \| exec "!qpdfview --unique ~/work/research/papers/" . a . ".pdf &"<CR> " update papers page with new pdf files nmap <buffer> <Leader>u :!vimwiki_add_papers.sh<CR>