MacVim+NERDTree: How to open a file as a split in furthest horizontal split -


i've been browsing mvim docs , have tested out various commands, can't seem find 1 solves issue.

here have:

/========================================================\ |          |                      |                      | |          |                      |                      | |          |     file 1           |                      | |          |                      |                      | |          |______________________|                      | | nerdtree |                      |     file 3           | |          |                      |                      | |          |    file 2            |                      | |          |                      |                      | \__________|______________________|______________________/ 

what i'd have:

/========================================================\ |          |                      |                      | |          |                      |                      | |          |     file 1           |       file 4         | |          |                      |                      | |          |______________________|______________________| | nerdtree |                      |                      | |          |                      |                      | |          |    file 2            |      file 3          | |          |                      |                      | \__________|______________________|______________________/ 

i'm able move things far right, new vsplit, far top , far bottom.

new nerdtree files opening default in file 1/file 2 vsplit.

any appreciated, thanks!

it seems though particular setup @ time may have been issue, , think understand why. first, how asked:

  1. open nerdtree :nerdtree
  2. open first file or o
  3. open second file in horizontal split pane i
  4. from each of 2 horizontal panes create third , fourth panes s. open selected files in vertical split of last buffer interacted with, splitting them each in half.
    bare in mind you'll need in pane you'd split, previous selecting file open nerdtree.

my issue arose panes being in orientation of top diagram above. everytime tried create horizontal split file 3 split wind in first column of files.

i think may see why now, though. mvim can interact through mouse - , that's way directly furthest column nerdtree, without touching other buffers (as far can tell). whereas regular vim, wouldn't able have furthest column last interacted window, , therefore never able split it.


Comments

Popular posts from this blog

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -