summaryrefslogtreecommitdiff
path: root/vim/.vim/after/ftplugin/tex
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2017-09-06 09:10:02 +0100
committerUrbain Vaes <urbain@vaes.uk>2017-09-06 09:10:02 +0100
commit6fd2f629c3dd0bb60dc75f76ad8bfb6f3de2d650 (patch)
tree16442a72c9cd275a099458c713e8a72bba42ff9d /vim/.vim/after/ftplugin/tex
parent36f119b5e6946ddc6938fb7c8398f186aadcf07a (diff)
[vim] Automatically create directories (if necessary)
Diffstat (limited to 'vim/.vim/after/ftplugin/tex')
-rw-r--r--vim/.vim/after/ftplugin/tex/mappings.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/vim/.vim/after/ftplugin/tex/mappings.vim b/vim/.vim/after/ftplugin/tex/mappings.vim
index 9da769b..a631d88 100644
--- a/vim/.vim/after/ftplugin/tex/mappings.vim
+++ b/vim/.vim/after/ftplugin/tex/mappings.vim
@@ -47,3 +47,4 @@ nnoremap <buffer> <LocalLeader>o :VimtexView<CR>
nnoremap <buffer> <LocalLeader>k :VimtexStop<CR>:VimtexClean<CR>
nnoremap <buffer> <LocalLeader>t :VimtexTocToggle<CR>
nnoremap <buffer> <LocalLeader>h :split header.sty<CR>
+nnoremap <buffer> <LocalLeader>d :!latexdiff-git main_old.tex main.tex > diff.tex<CR>