Closed justinmoon closed 9 years ago
3f969e6ce68ca37c3ea66d7e4dcac1f09a2232dc adds a :ScratchPreview
command which should do what you want :). Let me know if you had something else in mind.
I think making :Scratch
close the scratch buffer when called from the scratch buffer would be ideal behavior. I'll submit a PR if you're interested.
:ScratchPreview
is useful if you want to reference the scratch while making changes in other buffers but I find myself rarely doing this; I mostly want to add to or view the scratch. I prefer keeping this plugin to a single toggle mapping for simplicity.
Is it possible to toggle the scratch window?
What I mean by this is:
:q
.Is there a way I can achieve this?
Thanks