Permalink
Browse files

Disabled folding in tex files, added tex snippets

  • Loading branch information...
1 parent a6543dc commit 6dec3e73a1fade6c9b2f2d01ea97ce03bb7f492e @dbrgn committed Mar 26, 2013
Showing with 7 additions and 4 deletions.
  1. +3 −4 .vim/ftplugin/tex.vim
  2. +4 −0 .vim/snippets/tex.snippets
View
@@ -4,9 +4,8 @@ set shiftwidth=2
set softtabstop=2
set noexpandtab
+" Set textwidth
set textwidth=80
-" 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+=:
+" Diable folding
+set nofoldenable
@@ -0,0 +1,4 @@
+snippet itm
+ \item ${1:item}
+snippet hl
+ \hline

0 comments on commit 6dec3e7

Please sign in to comment.