diff options
author | katherine <shmibs@shmibbles.me> | 2017-06-26 21:55:46 -0700 |
---|---|---|
committer | katherine <shmibs@shmibbles.me> | 2017-06-26 21:55:46 -0700 |
commit | d7a4342c2792cd8e6929f614c7d5eecda915e14a (patch) | |
tree | a1720851a26781d19d20ed90329a15548688b728 | |
parent | dcf73bd0a1e4426d5630affa9947106e7f49320c (diff) | |
download | dotfiles-d7a4342c2792cd8e6929f614c7d5eecda915e14a.tar.gz |
add xelatex commands
-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() |