pedr0
pedr0

Reputation: 3011

VIM and viewport

I have a simple question, I use Vim with two viewport:

  1. e: (filesystem)
  2. File editing

I would like to open the file I select from viewport one in viewport two, there is a way to tell that at Vim?

Upvotes: 0

Views: 487

Answers (2)

1) Execute vim . to open file browser viewport
2) Select a file to open with arrows and press o
It will open the file in a new window/viewport. (window size and another windows command you can see here: http://vimdoc.sourceforge.net/htmldoc/windows.html)

Upvotes: 0

Zsolt Botykai
Zsolt Botykai

Reputation: 51653

For that you can use the really great NERDTree plugin. Here's a tutorial.

Upvotes: 1

Related Questions