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
原文地址:https://www.cnblogs.com/Answer1215/p/12576363.html
时间: 2024-10-14 09:02:02