diff --git a/vifm/.config/vifm/vifmrc b/vifm/.config/vifm/vifmrc index da3cb0a..1eaa437 100644 --- a/vifm/.config/vifm/vifmrc +++ b/vifm/.config/vifm/vifmrc @@ -111,8 +111,10 @@ set timeoutlen=5000 mark h ~/ mark d ~/downloads/ mark p ~/projects/ +mark s ~/projects/studentassistant/ mark i ~/pictures/ mark n ~/documents/notes/ +mark N ~/Nextcloud/ mark l ~/documents/library/academia/pdf/ mark t ~/.local/share/vifm/Trash/ @@ -172,7 +174,11 @@ command! reload :write | restart " program. " Pdf -filextype *.pdf zathura %c %i &, apvlv %c, xpdf %c +filextype *.pdf + \ { view as rich file } + \ zathura %c %i &, apvlv %c, xpdf %c, + \ { edit text content } + \ pdftotext -nopgbrk %c - | nvim fileviewer *.pdf pdftotext -nopgbrk %c - " PostScript @@ -334,10 +340,14 @@ fileviewer *.7z 7z l %c " Office files filextype *.odt,*.doc,*.docx,*.xls,*.xlsx,*.odp,*.pptx libreoffice %f & -fileviewer *.doc catdoc %c | nvim +filetype *.doc catdoc %c | nvim fileviewer *.doc catdoc %c -filextype *.docx docx2txt %f - | nvim -fileviewer *.docx docx2txt %f - +filetype *.docx + \ pandoc -s -t markdown %f | nvim, + \ docx2txt %f - | nvim +fileviewer *.docx + \ pandoc -s -t markdown %f, + \ docx2txt %f - " TuDu files filetype *.tudu tudu -f %c @@ -431,7 +441,7 @@ nnoremap w :view vnoremap w :viewgv " Open file in existing instance of nvim -nnoremap o :!nvim +nnoremap e :!nvim %f " Open file in the background using its default program nnoremap gb :file &l