diff --git a/.config/nvim/lua/plugins/knap.lua b/.config/nvim/lua/plugins/knap.lua index 9d38af9..8cec0f5 100644 --- a/.config/nvim/lua/plugins/knap.lua +++ b/.config/nvim/lua/plugins/knap.lua @@ -9,13 +9,13 @@ return { texoutputext = "pdf", textopdf = "pdflatex -synctex=1 -halt-on-error -interaction=batchmode %docroot%", textopdfviewerlaunch = - "zathura --synctex-editor-command 'nvim --headless -es --cmd \"lua require('\"'\"'knaphelper'\"'\"').relayjump('\"'\"'%servername%'\"'\"','\"'\"'%{input}'\"'\"',%{line},0)\"' %outputfile%", + "zathura --synctex-editor-command 'nvim --headless -es --cmd \"lua require('\"'\"'knaphelper'\"'\"').relayjump('\"'\"'%servername%'\"'\"','\"'\"'%{input}'\"'\"',%{line},0)\"' ./%outputfile%", textopdfviewerrefresh = "none", textopdfforwardjump = "zathura --synctex-forward=%line%:%column%:%srcfile% %outputfile%", -- markdown - mdoutputext = "html", + mdoutputext = "pdf", mdtopdf = "pandoc %docroot% -o %outputfile%", - mdtopdfviewerlaunch = "zathura %outputfile%", + mdtopdfviewerlaunch = "zathura ./%outputfile%", mdtohtml = "pandoc --standalone %docroot% -o %outputfile%", mdtohtmlviewerlaunch = "firefox --kiosk --new-window %outputfile%", mdtohtmlviewerrefresh = "none", diff --git a/.config/vifm/vifmrc b/.config/vifm/vifmrc index a1bfd75..6780709 100644 --- a/.config/vifm/vifmrc +++ b/.config/vifm/vifmrc @@ -171,7 +171,7 @@ command! reload :write | restart " program. " PDF -filextype *.pdf zathura %c %i &, apvlv %c, xpdf %c +filextype *.pdf zathura ./%c %i &, apvlv %c, xpdf %c fileviewer *.pdf \ vifmimg pdf %px %py %pw %ph %c \ %pc @@ -183,14 +183,14 @@ filetype *.csv,*.xlsx,*.sc sc-im %f " PostScript filextype *.ps,*.eps,*.ps.gz \ {View in zathura} - \ zathura %f, + \ zathura ./%f, \ {View in gv} \ gv %c %i &, " Djvu filextype *.djvu \ {View in zathura} - \ zathura %f, + \ zathura ./%f, \ {View in apvlv} \ apvlv %f, fileviewer *.djvu @@ -201,7 +201,7 @@ fileviewer *.djvu " epub filextype *.epub \ {View in zathura} - \ zathura %f, + \ zathura ./%f, fileviewer *.epub \ vifmimg epub %px %py %pw %ph %c \ %pc