I copy and paste what is written in the help file (
http://vim-latex.sourceforge.net/documentation/latex-suite/recommended-settings.html
)
What actually leave me perplex is the "filetype plugin on". I was expecting
something like "tex plugin on".
" LaTeX plug-in
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" REQUIRED: This makes vim invoke Latex-Suite when you open a tex file.
filetype plugin on
" IMPORTANT: grep will sometimes skip displaying the file name if you
" search in a singe file. This will confuse Latex-Suite. Set your grep
" program to always generate a file-name.
set grepprg=grep\ -nH\ $*
" OPTIONAL: This enables automatic indentation as you type.
filetype indent on
" OPTIONAL: Starting with Vim 7, the filetype of empty .tex files defaults
to
" 'plaintex' instead of 'tex', which results in vim-latex not being loaded.
" The following changes the default filetype back to 'tex':
let g:tex_flavor='latex'
let g:Tex_TreatMacViewerAsUNIX = 1
let g:Tex_ExecuteUNIXViewerInForeground = 1
let g:Tex_ViewRule_ps = 'open -a Preview'
let g:Tex_ViewRule_pdf = 'open -a Preview'
"let g:Tex_ViewRule_ps = 'open -a Skim'
"let g:Tex_ViewRule_pdf = 'open -a /Applications/Skim.app'
let g:Tex_MultipleCompileFormats = 'pdf'
helptags ~/.vim/doc
Alfredo Canziani
On Sun, Mar 15, 2015 at 3:10 AM, Till Maas <opensou...@till.name> wrote:
> On Thu, Mar 05, 2015 at 03:44:55PM -0500, Alfredo Canziani wrote:
> > Actually, vim-latex interferes with my lua scripts as well.
> > When I press <Ctrl>-<J> for moving to a lower split view, it goes into
> Edit
> > mode (like for jumping into the next <++>).
> > It would be very nice being able to disable vim-latex for stuff that is
> not
> > .tex.
> > Any idea of how this can be done?
>
> It should only be active when the filetype is tex. Can explain how you
> set it up so it is possible to see what is different in your setup?
>
> Regards
> Till
>
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming The Go Parallel Website,
> sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub for
> all
> things parallel software development, from weekly thought leadership blogs
> to
> news, videos, case studies, tutorials and more. Take a look and join the
> conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> Vim-latex-devel mailing list
> Vim-latex-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/vim-latex-devel
>
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Vim-latex-devel mailing list
Vim-latex-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vim-latex-devel