1.vim has not started yet:
Enter in terminal
vim file1 file2 ... filen can open all the files you want to open
2.vim has started
input
: Open File
a file can be opened again, and the contents of the file will be displayed in Vim at this time.
display multiple files at the same time:
: Split
: Vsplit
to switch between files:
1. Inter-file switching
ctrl+6-Next File
: bn-Next file
: bp-Previous file
for files opened in multiple panes with (v) Split, this method only switches different files in the current pane.
2. How to switch between panes
ctrl+w+ arrow Key--Switch to front/bottom/up/back one pane
ctrl+w+h/j/k/l--Ibid .
ctrl+ww--Switch back to the next pane in turnhttp://www.bkjia.com/PHPjc/440377.html www.bkjia.com true http://www.bkjia.com/PHPjc/440377.html techarticle 1.vim has not started when: input vim file1 file2 in the terminal ... filen can open all the files you want to open 2.vim has started input: Open file can be opened again ...