From 72d58a60145857aae3b7cffa7c70cb0a2d3ea89a Mon Sep 17 00:00:00 2001 From: jbranchaud Date: Sun, 17 Mar 2019 19:22:33 -0500 Subject: [PATCH] Add Specify The Line Height Of The Quick Fix Window as a vim til --- README.md | 3 ++- ...the-line-height-of-the-quick-fix-window.md | 20 +++++++++++++++++++ 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 vim/specify-the-line-height-of-the-quick-fix-window.md diff --git a/README.md b/README.md index 5a7c858..8b85f86 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ smart people at [Hashrocket](http://hashrocket.com/). For a steady stream of TILs from a variety of rocketeers, checkout [til.hashrocket.com](https://til.hashrocket.com/). -_783 TILs and counting..._ +_784 TILs and counting..._ --- @@ -865,6 +865,7 @@ _783 TILs and counting..._ - [Setting Filetype With Modelines](vim/setting-filetype-with-modelines.md) - [Show All Syntax Highlighting Rules](vim/show-all-syntax-highlighting-rules.md) - [Show Matching Entries For Help](vim/show-matching-entries-for-help.md) +- [Specify The Line Height Of The Quick Fix Window](vim/specify-the-line-height-of-the-quick-fix-window.md) - [Split Different](vim/split-different.md) - [Split The Current Window](vim/split-the-current-window.md) - [Splitting For New Files](vim/splitting-for-new-files.md) diff --git a/vim/specify-the-line-height-of-the-quick-fix-window.md b/vim/specify-the-line-height-of-the-quick-fix-window.md new file mode 100644 index 0000000..7f43c35 --- /dev/null +++ b/vim/specify-the-line-height-of-the-quick-fix-window.md @@ -0,0 +1,20 @@ +# Specify The Line Height Of The Quick Fix Window + +You can use the following command to open the Quick Fix window: + +``` +:copen +``` + +By default the Quick Fix window will open with a height of 10 lines, meaning +it can fit 10 lines of text. You may want to specify the height of the quick +fix window when you open it, especially if you are working with limited +screen space. This can be done by prepending the command with a _height_. + +``` +:5copen +``` + +This will open the Quick Fix window with a height of 5 lines. + +See `:h copen` for more details.