]> Sergey Matveev's repositories - dotfiles.git/blob - vim/.vim/ftdetect/tex.vim
Forbid default Rust ftplugin loading, it sucks
[dotfiles.git] / vim / .vim / ftdetect / tex.vim
1 autocmd BufNewFile,BufRead *.tex abbreviate framedo \begin{frame}<CR>\frametitle{TODO}<CR>\end{frame}<ESC>k>>wwlcw
2 autocmd BufNewFile,BufRead *.tex abbreviate itemdo \begin{itemize}<CR>\item <CR>\end{itemize}<ESC>k>>$a
3 autocmd BufNewFile,BufRead *.tex abbreviate cnter \begin{center}<CR>\end{center}<ESC>k$o