[Tools Vim] Open Files into Vim from the Terminal as buffers, splits, and tabs

You can open files into Vim directly from the terminal. This works for both single files and multiple files. In addition to reading these files into buffers, you can open them as splits or tabs. This video covers the basics of opening files from the terminal…

 

vim README.md CHANGELOG.md -o // open both files in horizontal split
vim README.md CHANGELOG.md -O // open both files in vertical split
vim README.md CHANGELOG.md -p // open both files in multi tabs

 

posted @ 2020-03-26 18:22  Zhentiw  阅读(95)  评论(0编辑  收藏  举报