aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkatherine <shmibs@shmibbles.me>2017-06-26 21:55:46 -0700
committerkatherine <shmibs@shmibbles.me>2017-06-26 21:55:46 -0700
commitd7a4342c2792cd8e6929f614c7d5eecda915e14a (patch)
treea1720851a26781d19d20ed90329a15548688b728
parentdcf73bd0a1e4426d5630affa9947106e7f49320c (diff)
downloaddotfiles-d7a4342c2792cd8e6929f614c7d5eecda915e14a.tar.gz
add xelatex commands
-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()