Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to Resize Window Split in VIM in Mac?

I wanted this question to be there just so it will also help someone in the future. Some of the VIM keyboard shortcuts have problems in the Mac keyboard convention. I read that Ctrl + W + > will resize.

But it doesn't seem to be working. What's the real way to do this?

like image 625
Sreejith Ramakrishnan Avatar asked Oct 31 '25 00:10

Sreejith Ramakrishnan


1 Answers

If you want to resize the VIM view, while in the Normal mode, type :resize number For example, :resize 10 will create a view with 10 lines.

If you want to resize a window that can be any window and not just VIM, have a look at this post: https://superuser.com/questions/68811/what-keyboard-shortcuts-move-resize-and-maximize-windows-under-mac-os-x

like image 74
multigoodverse Avatar answered Nov 02 '25 22:11

multigoodverse



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!