Vim – Toggle between vertical and horizontal window layout


I keep forgetting how to do this – Note to self. Make a

How to change from a horizontal list to a vertical list of windows, and vice versa:

—————————
horizontal list of windows
to vertical list of windows
—————————
    W|W|W
to
    W
    W  
    W

    :windo wincmd K

—————————-
vertical list of windows
to horizonal list of windows
—————————-
    W
    W  
    W
to
    W|W|W

  :windo wincmd H

Powered by ScribeFire.

Published by salubrium

I am a Systems Administrator based in Sydney, Australia with some hugely varied interests: Topics covered are Virtualization, Web Hosting, Remote Desktop, Security and Backups, PHP, Python, MVC Frameworks, SEO

Leave a comment

Your email address will not be published. Required fields are marked *