[Vim-latex-cvs] vimfiles/plugin explorer.vim,1.4,1.4.2.1
Brought to you by:
srinathava,
tmaas
From: <sri...@us...> - 2003-07-06 19:17:35
|
Update of /cvsroot/vim-latex/vimfiles/plugin In directory sc8-pr-cvs1:/tmp/cvs-serv16857 Modified Files: Tag: latex-multi-compile explorer.vim Log Message: need the autocommands otherwise <F9> completion for files does not work. Index: explorer.vim =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/plugin/explorer.vim,v retrieving revision 1.4 retrieving revision 1.4.2.1 diff -C2 -d -r1.4 -r1.4.2.1 *** explorer.vim 30 Jun 2003 01:18:52 -0000 1.4 --- explorer.vim 6 Jul 2003 19:17:32 -0000 1.4.2.1 *************** *** 1343,1346 **** --- 1343,1359 ---- endfunction + "--- + " Set up the autocommand to allow directories to be edited + " + augroup fileExplorer + au! + " Fill the window when entering the buffer; ":edit dir". + au BufEnter * call s:EditDir() + " Set the window variables after a split; ":split". + au WinEnter * if !exists("w:sortdirection") | call s:EditDir() | endif + " Fill the windows after Vim has started up. + au VimEnter * call s:EditAll() + augroup end + " restore 'cpo' let &cpo = s:cpo_save |