My vim configuration
git clone https://github.com/m-col/vim-misc
Files | Refs | Readme

Commit 94f56dc1e799950f66f99679c0b84a8c7dc8ef66
Parent: 979fec661d874cb0d7a9ab87b07f1dfbabd67a4d
Author: mcol <mcol@posteo.net>
Date: 2019-06-01 15:44:26 +0100
Committer: mcol <mcol@posteo.net>
Committed: 2019-06-01 15:44:26 +0100

updating paper list will restore vim to original state

ftplugin/vimwiki.vim Modified

@@ -26,7 +26,7 @@
 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>