1. When vim has not started yet: Input vim file1 file2 ... filen in the terminal to open all the files you want to open. 2.vim has been startedEnter :open file to open another file , and the contents of the file file will be displayed in vim at this time. Display multiple files simultaneously: :split:vsplitSwitch between files: 1. Switch between filesCtrl+6—Next file :bn—next file:bp—previous fileFor (v)split in multiple panes Files opened in this method will only switch between different files in the current pane. 2. How to switch between panesCtrl+w+arrow keys - switch to the previous/bottom/upper/next paneCtrl+w+h/j/k/l - Same as aboveCtrl+ww - Switch back to the next pane in sequence
http://www.bkjia.com/PHPjc/440377.htmlwww.bkjia.comtruehttp: //www.bkjia.com/PHPjc/440377.htmlTechArticle1. When vim has not started: Enter vim file1 file2 ... filen in the terminal to open all The file you want to open 2.vim has been started. Enter: open file. You can open another file...