1
0
mirror of https://github.com/jbranchaud/til synced 2026-01-07 00:58:02 +00:00

Add Horizontal to Vertical and Back Again as a vim til.

This commit is contained in:
jbranchaud
2015-04-04 18:11:47 -05:00
parent 443030c910
commit 0a34d6fe81
2 changed files with 21 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
# Horizontal to Vertical and Back Again
If you have two Vim windows open with a horizontal split and you want to
quickly switch them to be vertically split, you can type the following two
key bindings:
```
Ctrl-w t
Ctrl-w H
```
To go from vertically split windows to horizontally split windows you can
instead use:
```
Ctrl-w t
Ctrl-w K
```
[source](http://stackoverflow.com/questions/1269603/to-switch-from-vertical-split-to-horizontal-split-fast-in-vim)