vim - How to open a file from buffer in a split window? -


I have two files, file1.txt and file2.txt Added in buffer buffer I have currently opened file1.txt and I know that the command : b2 opens file2.txt buffer To

But, I'd like to open file2.txt in the split window, which should be kept file1.txt . Is there a way to do this, like : vs file2.txt without using commands? I'm looking for a command running buffer.

 : sb2   

buffer in a horizontal window Opens # 2.

 : vert sb2   

Opens buffer # 2 in a vertical window.

 : tab sb2   

Opens buffer # 2 in a new tab page.

: sb 12 is : help: b SOA ?? | Try the following lines a little hard next time.

Comments

Popular posts from this blog

ios - Adding an SKSpriteNode to SKScene from a child SKSpriteNode -

Matlab transpose a table vector -

c# - Textbox not clickable but editable -