Nvim: add all after/ files
This commit is contained in:
29
.config/nvim/after/plugin/knap.rc.lua
Normal file
29
.config/nvim/after/plugin/knap.rc.lua
Normal file
@@ -0,0 +1,29 @@
|
||||
local gknapsettings = {
|
||||
htmloutputext = "html",
|
||||
htmltohtml = "touch %outputfile%",
|
||||
htmltohtmlviewerlaunch = "google-chrome-beta %outputfile%",
|
||||
htmltohtmlviewerrefresh = "none",
|
||||
mdoutputext = "html",
|
||||
mdtohtml = "pandoc --standalone %docroot% -o %outputfile%",
|
||||
mdtohtmlviewerlaunch = "google-chrome-beta %outputfile%",
|
||||
mdtohtmlviewerrefresh = "none",
|
||||
mdtopdf = "pandoc %docroot% -o %outputfile%",
|
||||
mdtopdfviewerlaunch = "sioyek %outputfile%",
|
||||
mdtopdfviewerrefresh = "none",
|
||||
markdownoutputext = "html",
|
||||
markdowntohtml = "pandoc --standalone %docroot% -o %outputfile%",
|
||||
markdowntohtmlviewerlaunch = "google-chrome-beta %outputfile%",
|
||||
markdowntohtmlviewerrefresh = "none",
|
||||
markdowntopdf = "pandoc %docroot% -o %outputfile%",
|
||||
markdowntopdfviewerlaunch = "sioyek %outputfile%",
|
||||
markdowntopdfviewerrefresh = "none",
|
||||
texoutputext = "pdf",
|
||||
textopdf = "pdflatex -interaction=batchmode -halt-on-error -synctex=1 %docroot%",
|
||||
textopdfviewerlaunch = "sioyek --inverse-search 'nvim --headless -es --cmd \"lua require('\"'\"'knaphelper'\"'\"').relayjump('\"'\"'%servername%'\"'\"','\"'\"'%1'\"'\"',%2,%3)\"' --reuse-instance %outputfile%",
|
||||
textopdfviewerrefresh = "none",
|
||||
textopdfforwardjump = "sioyek --inverse-search 'nvim --headless -es --cmd \"lua require('\"'\"'knaphelper'\"'\"').relayjump('\"'\"'%servername%'\"'\"','\"'\"'%1'\"'\"',%2,%3)\"' --reuse-instance --forward-search-file %srcfile% --forward-search-line %line% %outputfile%",
|
||||
textopdfshorterror = "A=%outputfile% ; LOGFILE=\"${A%.pdf}.log\" ; rubber-info \"$LOGFILE\" 2>&1 | head -n 1",
|
||||
delay = 250
|
||||
}
|
||||
|
||||
vim.g.knap_settings = gknapsettings
|
||||
Reference in New Issue
Block a user