Wulf's Webden

The Webden on WordPress

An Even Split

| 0 comments

As I’m going through a phase of doing a lot of file editing using a command line terminal (SSH to a different machine), I am building my skills with Vim as opposed to gVim – in other words, no mouse!

One useful trick I’ve discovered in the last week or two is for helping deal with split windows. I knew the commands to introduce horizonal and vertical splits (:sp and :vsp respectively) and I could move between the sections (Ctrl-W and then a direction key) but I wasn’t sure how to resize the partitions. Most of the time I just want them evened up and it turns out Ctrl-W = is the necessary command sequence.

It sounds obvious when you know it, which makes it easy to remember and is proving very helpful indeed.

Leave a Reply

Required fields are marked *.


This site uses Akismet to reduce spam. Learn how your comment data is processed.