File tree 2 files changed +21
-0
lines changed
2 files changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -51,6 +51,7 @@ smart people at [Hashrocket](http://hashrocket.com/).
51
51
- [ Close the Current Buffer] ( vim/close-the-current-buffer.md )
52
52
- [ Generate and Edit Rails Migration] ( vim/generate-and-edit-rails-migration.md )
53
53
- [ Head of File Name] ( vim/head-of-file-name.md )
54
+ - [ Horizontal to Vertical and Back Again] ( vim/horizontal-to-veritcal-and-back-again.md )
54
55
- [ List All Buffers] ( vim/list-all-buffers.md )
55
56
- [ NETRW Listing Styles] ( vim/netrw-listing-styles.md )
56
57
- [ Opening a URL] ( vim/opening-a-url.md )
Original file line number Diff line number Diff line change
1
+ # Horizontal to Vertical and Back Again
2
+
3
+ If you have two Vim windows open with a horizontal split and you want to
4
+ quickly switch them to be vertically split, you can type the following two
5
+ key bindings:
6
+
7
+ ```
8
+ Ctrl-w t
9
+ Ctrl-w H
10
+ ```
11
+
12
+ To go from vertically split windows to horizontally split windows you can
13
+ instead use:
14
+
15
+ ```
16
+ Ctrl-w t
17
+ Ctrl-w K
18
+ ```
19
+
20
+ [ source] ( http://stackoverflow.com/questions/1269603/to-switch-from-vertical-split-to-horizontal-split-fast-in-vim )
You can’t perform that action at this time.
0 commit comments