Skip to content

Commit 87f2fed

Browse files
committed
Add Close All Other Splits as a vim til
1 parent f580c8e commit 87f2fed

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ variety of languages and technologies. These are things that don't really
77
warrant a full blog post. These are mostly things I learn by pairing with
88
smart people at [Hashrocket](http://hashrocket.com/).
99

10-
_485 TILs and counting..._
10+
_486 TILs and counting..._
1111

1212
---
1313

@@ -477,6 +477,7 @@ _485 TILs and counting..._
477477
- [Case-Insensitive Substitution](vim/case-insensitive-substitution.md)
478478
- [Center The Cursor](vim/center-the-cursor.md)
479479
- [Check Your Current Color Scheme](vim/check-your-current-color-scheme.md)
480+
- [Close All Other Splits](vim/close-all-other-splits.md)
480481
- [Close All Other Windows](vim/close-all-other-windows.md)
481482
- [Close the Current Buffer](vim/close-the-current-buffer.md)
482483
- [Coerce The Current Filetype](vim/coerce-the-current-filetype.md)

vim/close-all-other-splits.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Close All Other Splits
2+
3+
If you have a couple other splits open, but you only want the window in
4+
focus, you may find yourself doing some finger gymnastics to navigate to
5+
those other split windows to close out of them.
6+
7+
There is an easier way.
8+
9+
The Ex command `:only` will close all other splits, excluding the window
10+
that is currently in focus.
11+
12+
See `:h :only` for more details.

0 commit comments

Comments
 (0)