scratch.vim icon indicating copy to clipboard operation
scratch.vim copied to clipboard

Adding option to dynamically resize the Scratch window.

Open phux opened this issue 6 years ago • 0 comments

Especially when using :ScratchPreview and keeping it open with just a few lines in the buffer I was annoyed by the wasted space.

The PR enables dynamic window resizing to the number of lines in the scratch buffer, capped at g:scratch_height (only if g:scratch_horizontal is disabled).

phux avatar Sep 06 '19 09:09 phux