diff options
-rw-r--r-- | .config/ranger/rifle.conf | 1 | ||||
-rw-r--r-- | .vimrc | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/.config/ranger/rifle.conf b/.config/ranger/rifle.conf index 5ea0338..cf7e9e7 100644 --- a/.config/ranger/rifle.conf +++ b/.config/ranger/rifle.conf @@ -129,6 +129,7 @@ mime ^video, terminal, !X, has mpv = mpv -- "$@" ext djvu|pdf|ps, has zathura, X, flag f = zathura -- "$@" ext tex, has latex = latex -- "-output-format=pdf" "$@" +ext tex, has xelatex = xelatex -- "-output-format=pdf" "$@" ext docx?, has catdoc, terminal = catdoc -- "$@" | $PAGER @@ -383,6 +383,8 @@ function! Settings_tex() nnoremap <buffer> -- O%<Space> nnoremap <buffer> <Leader>c :!latex -output-format=pdf "%"<CR><CR> nnoremap <buffer> <Leader>C :!latex -output-format=pdf "%"<CR> + nnoremap <buffer> <Leader>x :!xelatex -output-format=pdf "%"<CR><CR> + nnoremap <buffer> <Leader>X :!xelatex -output-format=pdf "%"<CR> endfunction function! Settings_text() |