mirror of
https://github.com/jbranchaud/til
synced 2026-01-02 22:58:01 +00:00
Add Specify The Line Height Of The Quick Fix Window as a vim til
This commit is contained in:
@@ -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)
|
||||
|
||||
20
vim/specify-the-line-height-of-the-quick-fix-window.md
Normal file
20
vim/specify-the-line-height-of-the-quick-fix-window.md
Normal file
@@ -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.
|
||||
Reference in New Issue
Block a user