[Vim-latex-cvs] vimfiles/ftplugin/tex texviewer.vim,1.2,1.3
Brought to you by:
srinathava,
tmaas
From: <mi...@us...> - 2003-04-03 14:28:36
|
Update of /cvsroot/vim-latex/vimfiles/ftplugin/tex In directory sc8-pr-cvs1:/tmp/cvs-serv31196 Modified Files: texviewer.vim Log Message: full customization of cwindow and preview window height, vanilla 6.1 has bug which resizes cwindow - fixed with additional wincmd _ command Index: texviewer.vim =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/tex/texviewer.vim,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** texviewer.vim 3 Apr 2003 11:53:54 -0000 1.2 --- texviewer.vim 3 Apr 2003 14:28:30 -0000 1.3 *************** *** 98,102 **** cclose ! copen 5 setlocal nonumber setlocal nowrap --- 98,102 ---- cclose ! exe 'copen '. g:Tex_ViewerCwindowHeight setlocal nonumber setlocal nowrap *************** *** 146,149 **** --- 146,153 ---- pclose exe 'silent! bot pedit +'.viewline.' '.viewfile + + " Vanilla 6.1 has bug. This additional setting of cwindow height prevents + " resizing of this window + exe g:Tex_ViewerCwindowHeight.' wincmd _' " Handle situation if there is no item beginning with s:prefix. *************** *** 171,175 **** " Settings of preview window ! exe g:Tex_PreviewHeight.' wincmd _' setlocal foldlevel=10 --- 175,179 ---- " Settings of preview window ! exe g:Tex_ViewerPreviewHeight.' wincmd _' setlocal foldlevel=10 |