Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
967 views
in Technique[技术] by (71.8m points)

shortcut of making vim windows/panels equally in height

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!

question from:https://stackoverflow.com/questions/4910994/shortcut-of-making-vim-windows-panels-equally-in-height

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...