Skip to content

Conversation

ethanmuller
Copy link

I typically prefer to work in vertical splits, so I wanted the ability to open a scratch buffer in a vertical split.

This adds a new parameter to ScratchBufferOpen(), which indicates split type. 0 is horizontal, 1 is vertical. It also creates a :Vscratch command, which sets the proper split type.

I'm totally new to Vim script, so there might be a better way to do this. However, what I did worked well for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants