From 67a3c6d4264802cb0c506234b24d4c80fa52a76c Mon Sep 17 00:00:00 2001 From: 0scar Date: Sun, 9 Aug 2020 18:55:14 +0200 Subject: Initial --- .config/vim/ftdetect/tex.vim | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .config/vim/ftdetect/tex.vim (limited to '.config/vim/ftdetect/tex.vim') diff --git a/.config/vim/ftdetect/tex.vim b/.config/vim/ftdetect/tex.vim new file mode 100644 index 0000000..43f5fde --- /dev/null +++ b/.config/vim/ftdetect/tex.vim @@ -0,0 +1,9 @@ +" put \begin{} \end{} tags tags around the current word +autocmd BufRead *.tex map YpkI\begin{A}jI\end{A}kA +autocmd BufRead *.tex map! YpkI\begin{A}jI\end{A}kA +autocmd BufRead *.tex map :call Synctex() + +"autocmd BufRead *.tex imap /\ \land +"autocmd BufRead *.tex imap \/ \lor +"autocmd BufRead *.tex imap -> \rightarrow +"autocmd BufRead *.tex imap ~~ \neg -- cgit v1.3