[Vim-latex-cvs] vimfiles/plugin explorer.vim,NONE,1.1
Brought to you by:
srinathava,
tmaas
From: <mi...@us...> - 2003-04-04 23:27:48
|
Update of /cvsroot/vim-latex/vimfiles/plugin In directory sc8-pr-cvs1:/tmp/cvs-serv30664 Added Files: explorer.vim Log Message: This is almost standard version of explorer plugin. This addition to lS is necessary for things like explorer-completion. Change is to make EditEntry function global available. It makes possible to remap standard explorer shortcuts for better interaction with lS. I signalized this on vi...@vi... and hope it will be standard behaviour of explorer.vim in next Vim editions thus we won't need this file. But for today pros are much more than contras I think. (sorry for my english today, please correct my faults in latex-suite.txt if you find few minutes) --- NEW FILE: explorer.vim --- "============================================================================= " File: explorer.vim " Author: M A Aziz Ahmed (az...@ac...) " Last Change: 2002 Jun 12 " Version: 2.5 + changes " Additions by Mark Waggoner (wag...@ar...) et al. "----------------------------------------------------------------------------- " This file implements a file explorer. Latest version available at: " http://www.freespeech.org/aziz/vim/ " Updated version available at: " http://www.aracnet.com/~waggoner "----------------------------------------------------------------------------- " Normally, this file will reside in the plugins directory and be " automatically sourced. If not, you must manually source this file " using :source explorer.vim " " To use it, just edit a directory (vi dirname) or type :Explore to " launch the file explorer in the current window, or :Sexplore to split " the current window and launch explorer there. [...1242 lines suppressed...] call s:EditDir() endwhile 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 unlet s:cpo_save |