Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to do this kind of windows movement in VIM?

Tags:

vim

First I have three windows splited like this:

|    |    |    |
|    |    |    |
| A  | B  | C  |
|    |    |    |
|    |    |    |

So, how can I change them into this way?

         |      |
   A     |      |
_________|  C   |
   B     |      |
         |      |

This happens when I want to use both TagList & NERDTree. Both of them open a new window on the left side.

like image 386
Jack Avatar asked Oct 21 '25 13:10

Jack


1 Answers

  1. go to A and Ctrl-w K

    now your window should look like

    |    A    |
    |---------|
    |  B |  C |
    
  2. then go to C and Ctrl-w L

like image 60
Alec Avatar answered Oct 23 '25 08:10

Alec



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!