Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I can press o but it creates a new window and opens the file there. I want it to open in the same window. At least it should display on the same window each time open some file but it creates new windows for each file I open. Also is there a way to make it open as a vertical split and not horizontal split? Where can I find the complete documentation/cheatsheet of all possible commands in 'Netrw Directory Listing' mode?

share|improve this question
up vote 0 down vote accepted

For the answers to your other questions, see

:help netrw

for all the documentation,

:help netrw-v

for using a vertically-split window, and

:help netrw-browse-maps

for a listing of the normal-mode commands (maps).

share|improve this answer

Here is quick reference from Help

  ---           -----------------
  Map           Quick Explanation
  ---           -----------------
 <cr>   Netrw will enter the directory or read the file 
 <del>  Netrw will attempt to remove the file/directory                                                                
   D    Attempt to remove the file(s)/directory(ies)                            
   o    Enter the file/directory under the cursor in a new   
    browser window.  A horizontal split is used.
   O    Obtain a file specified by cursor                    
   p    Preview the file                                     
   P    Browse in the previously used window                            
   qf   Display information on file                                                         
   R    Rename the designed file(s)/directory(ies)            
   t    Enter the file/directory under the cursor in a new tab           
   v    Enter the file/directory under the cursor in a new   
    browser window.  A vertical split is used.
   x    View file with an associated program                 
   %    Open a new file in netrw's current directory         
share|improve this answer

In the Netwr listing press ENTER.

share|improve this answer
Thanks. I tried all other keys. :) – balki Jan 11 '11 at 14:12

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.