From 1c019761dfaf6be82de9284fa5e2b9dbfbdec27d Mon Sep 17 00:00:00 2001 From: Ryan Kavanagh Date: Sun, 14 Aug 2011 17:16:55 -0400 Subject: Initial import --- .vim/ftplugin/tex.vim | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .vim/ftplugin/tex.vim (limited to '.vim/ftplugin/tex.vim') diff --git a/.vim/ftplugin/tex.vim b/.vim/ftplugin/tex.vim new file mode 100644 index 0000000..e1d7438 --- /dev/null +++ b/.vim/ftplugin/tex.vim @@ -0,0 +1,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 you will automatically cycle through +" all the figure labels. Very useful! +set iskeyword+=: + +" So I can use e-acute +imap it Tex_InsertItemOnThisLine -- cgit v1.2.3