Hi, Thanks for responses.
I think. I must give you an example. Start your gvim and activate dir-window (menue::view/directory) Now open please a file. you see this file on the right side. That is OK. Give please focus to dir-window (cursor is in dir-window). Open please a file over menue::buffer You see this file is opened in dir-window and you don,t see dir- window. That is NOK. I think. It must be prevented to open a file in dir-window although the dir-window has the focus. thanks for your help On 16 Mai, 18:23, Ben Fritz <[email protected]> wrote: > On May 16, 4:10 am, "Sabo" <[email protected]> wrote: > > > Hi, > > > how can i prevent that gvim opens a file in directory window ? > > > if i show directory and i doubleclick a file. this file is opened in > > directory window. > > Is it possible with a setting that this file is opened in an another window > > ? > > I assume by "directory window" you're referring to the Netrw window. > Netrw is a plugin that ships with Vim that will (among many other > things) show you the directory contents when you try to :edit a > directory instead of a file. > > From :help netrw-browse-maps, you can see that simply pressing your o > key on a file name will open the file in a new window. There are other > maps too if this isn't exactly what you were looking for. > > Also, you may want to try the NERDTree plugin if all you need is local > file browsing: > > http://www.vim.org/scripts/script.php?script_id=1658 --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
