From 16938a57453b769490fde0372407ae169de519ab Mon Sep 17 00:00:00 2001 From: Audric Schiltknecht Date: Wed, 10 Oct 2012 22:12:38 +0200 Subject: Add "basic" vim configuration --- vim/.vim/specific/tex.vim | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 vim/.vim/specific/tex.vim (limited to 'vim/.vim/specific/tex.vim') diff --git a/vim/.vim/specific/tex.vim b/vim/.vim/specific/tex.vim new file mode 100644 index 0000000..204235a --- /dev/null +++ b/vim/.vim/specific/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 +set softtabstop=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+=: + +set makeprg=pdflatex\ -shell-escape\ % -- cgit v1.2.3-70-g09d2