Friday, August 10, 2012

Re: :E and current window

On Fri, Aug 10, 2012 at 4:06 PM, Tony Mechelynck <antoine.mechelynck@gmail.com> wrote:
On 10/08/12 20:38, Mark Volkmann wrote:
Sometimes when I have split windows and press :E to explore the file system, the cursor jumps to a different window than the one I was in when I pressed :E. This is very frustrating because I have to move back to the original window to select a file. What could cause this?

According to ":help :Explore" (quoted below), the directory browser will take over the current window if the file hasn't been modified, otherwise it will open a new split-window:

In my case the current window has not been modified. A new split-window is not opened. Instead, the cursor jumps to another window that is occupied by a different buffer.

This also often happens when I select ".." in the file list within the explorer window. That window changes to show me a list of the files in the parent directory AND the cursor jumps to a different window. 
 
--
R. Mark Volkmann
Object Computing, Inc.

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: