42

I was reading the byte of vim. Here is a problem that I encountered.

I am using vim in macosx. (command line not GUI)

In the book, "Want to make the windows 'equal' in height again? press ctrl-w =" I have tried that, but it does not working. And, it made some sound (which I believe it indicates that there is an error)

In addition, when I have looked at the mac vim help page about window, I did found this command. I tried it again---still does not work in the command line mode, but it did works in GUI mode (MacVim)

Does anyone have any ideas to solve that? Thanks a lot!

randomness2077
  • 1,119
  • 2
  • 13
  • 25
  • 2
    Does `ctrl-w +` and `ctrl-w -` work for you? – ajwood Feb 06 '11 at 01:56
  • Perhaps some folks want to try `:vsp` (vertical split) and/or `:sp` (horizontal split), and then cycle between windows with `control-w w`. If this sounds like what you were looking for when you found this question, then have a look at [how to effectively work with multiple files in Vim](http://stackoverflow.com/a/53714/664833). – user664833 Apr 18 '14 at 18:03

1 Answers1

87

You wouldn't happen to be pressing Ctrl-WCtrl-=, would you?

I tried Ctrl-W= in Vim in a Terminal, and it worked. Ctrl-WCtrl-= didn't work in the terminal, but it did in MacVim.

Jander
  • 5,359
  • 1
  • 22
  • 21