Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
974 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 Reply

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...