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!
To split the vim screen horizontally, or open a new workspace at the bottom of the active selection, press Ctrl + w , followed by the letter 's' . In the example below, the left section has been split into two workspaces. To navigate to the bottom section hit Ctrl + w , followed by the letter 'j' .
Control + W followed by W to toggle between open windows and, Control + W followed by H / J / K / L to move to the left/bottom/top/right window accordingly, Control + W followed by Left / Down / Up / Right arrow to move to the left/bottom/top/right window accordingly.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With