diff --git a/README.md b/README.md index 3764301..d218de7 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ variety of languages and technologies. These are things that don't really warrant a full blog post. These are mostly things I learn by pairing with smart people at [Hashrocket](http://hashrocket.com/). -_485 TILs and counting..._ +_486 TILs and counting..._ --- @@ -477,6 +477,7 @@ _485 TILs and counting..._ - [Case-Insensitive Substitution](vim/case-insensitive-substitution.md) - [Center The Cursor](vim/center-the-cursor.md) - [Check Your Current Color Scheme](vim/check-your-current-color-scheme.md) +- [Close All Other Splits](vim/close-all-other-splits.md) - [Close All Other Windows](vim/close-all-other-windows.md) - [Close the Current Buffer](vim/close-the-current-buffer.md) - [Coerce The Current Filetype](vim/coerce-the-current-filetype.md) diff --git a/vim/close-all-other-splits.md b/vim/close-all-other-splits.md new file mode 100644 index 0000000..e4da7d3 --- /dev/null +++ b/vim/close-all-other-splits.md @@ -0,0 +1,12 @@ +# Close All Other Splits + +If you have a couple other splits open, but you only want the window in +focus, you may find yourself doing some finger gymnastics to navigate to +those other split windows to close out of them. + +There is an easier way. + +The Ex command `:only` will close all other splits, excluding the window +that is currently in focus. + +See `:h :only` for more details.