[Vim-latex-devel] some questions about main.vim
Brought to you by:
srinathava,
tmaas
From: Benji F. <be...@me...> - 2003-01-09 14:20:27
|
Near the end of latex-suite/main.vim we have the following lines: " viewing/searching if !hasmapto('RunLaTeX') if has("gui") nnoremap <buffer> <Leader>ll :silent! call RunLaTeX()<cr> nnoremap <buffer> <Leader>lv :silent! call ViewLaTeX()<cr> nnoremap <buffer> <Leader>ls :silent! call ForwardSearchLaTeX()<cr> else nnoremap <buffer> <Leader>ll :call RunLaTeX()<cr> nnoremap <buffer> <Leader>lv :call ViewLaTeX()<cr> nnoremap <buffer> <Leader>ls :call ForwardSearchLaTeX()<cr> end end " This line seems to be necessary to source our compiler/tex.vim file. " The docs are unclear why this needs to be done even though this file " is the first compiler plugin in 'runtimepath'. runtime compiler/tex.vim (I changed the indent for e-mail readability.) 1. Why do we use :silent! only under :if has("gui")? 2. Does the comment about compiler/tex.vim mean that ":compiler tex" was tried and did not work? --Benji |