aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.config/ranger/rifle.conf1
-rw-r--r--.vimrc2
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
diff --git a/.vimrc b/.vimrc
index 1b3b06f..9301f00 100644
--- a/.vimrc
+++ b/.vimrc
@@ -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()