aboutsummaryrefslogtreecommitdiff
path: root/.vim/ftplugin/tex.vim
blob: e1d743892c50521e97872005b5a84f2f91a7be87 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
" this is mostly a matter of taste. but LaTeX looks good with just a bit
" of indentation.
set sw=2
" TIP: if you write your \label's as \label{fig:something}, then if you
" type in \ref{fig: and press <C-n> you will automatically cycle through
" all the figure labels. Very useful!
set iskeyword+=:

" So I can use e-acute
imap <buffer> <leader>it <Plug>Tex_InsertItemOnThisLine