Skip to content

Instantly share code, notes, and snippets.

@ruanyl
Created August 11, 2014 08:57
Show Gist options
  • Save ruanyl/eb71f1a5766fbd90ca7a to your computer and use it in GitHub Desktop.
Save ruanyl/eb71f1a5766fbd90ca7a to your computer and use it in GitHub Desktop.
vim open buffer on new split
:vert sb N
which will open a left vertical split (by default, unless you have modified some options).
To open a split to the right, on the other hand:
:vert belowright sb N
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment