dotfiles

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit acab0987a70b40cc2f9d24c7d411ac4e4ed7a242
parent a4344388b59d0018c6851f9c6b404f864416d2e2
Author: Janis Pagel <janis.pagel@ims.uni-stuttgart.de>
Date:   Wed, 17 Apr 2019 03:04:04 +0200

Use mupdf for markdown preview

Using xdg-open doesn't make sense when using the SIGHUB functionality of
mupdf

Diffstat:
Mvim/vimrc | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vim/vimrc b/vim/vimrc @@ -48,7 +48,7 @@ command! -nargs=* RunSilent \ | execute ':redraw!' " markdown preview with pandoc -autocmd BufEnter *.markdown,*.md,*.wiki :RunSilent pandoc -f markdown -o /tmp/vim-pandoc-out.pdf % && xdg-open /tmp/vim-pandoc-out.pdf & +autocmd BufEnter *.markdown,*.md,*.wiki :RunSilent pandoc -f markdown -o /tmp/vim-pandoc-out.pdf % && mupdf /tmp/vim-pandoc-out.pdf & autocmd BufWritePost *.markdown,*.md,*.wiki :RunSilent pandoc -f markdown -o /tmp/vim-pandoc-out.pdf % && pkill -1 mupdf " vim-plug section