Wu Bingzheng wrote: > Hello, > > I have some questions about using vim. > > My system is: Gnome, Ubuntu 8.04 > > 1. winmanager > > I want the netrw works like Tlist: when I press F2(or another > command), a new window is created at left, which shows all files in > the directory where the current file locates. > I typed :help winmanager, which says there is no help info for > winmanager. How can I make the netrw works like I say above? >
Put map <f2> :topleft 20vsplit<bar>Explore .<cr> into your .vimrc . The "20" specifies how many columns wide the window should be -- change it to whatever you wish. If you also want a tree style, put :let g:netrw_liststyle= 3 in that file. Regards, Chip Campbell --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
