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.


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Vim-latex-devel mailing list
Vim-latex-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vim-latex-devel

Reply via email to