[Vim-latex-devel] autoindent with vimlatex
Brought to you by:
srinathava,
tmaas
From: Rudra B. <bnr...@ya...> - 2012-09-13 14:05:52
|
Dear friends, I am using vim-latex for a week, and never managed to have autoindent. I added the line set sw=2 in .vim/ftplugin/tex_latexSuite.vim as there is no tex.vim as told in recommended settings page(http://vim-latex.sourceforge.net/documentation/latex-suite/recommended-settings.html) my .vimrc looks: cat ~/.vimrc set number set autoindent set smartindent set hlsearch set incsearch set ignorecase set smartcase set novisualbell set paste set ruler "set expandtab "set smarttab "set shiftwidth=1 "set softtabstop=3 "set mouse=a "enable mouse "set nu "show line number "set cul "highlight current line if version >= 700 set spell spl=en_us set nospell nmap <F7> :set spell! endif " Fortran stuff let fortran_do_enddo=1 let fortran_more_precise=1 "filetype on filetype plugin on let g:tex_flavor='latex' "filetype indent on syntax enable please help. |