Vim – Edit Multiple Files

Open multiple files Open multiple files on the horizontal direction: vim -o file1 file2 file3 ….Switch edit file:ctrl + ww.Close all opened files without saving operation:qa.Multiple fails in the vertical direction: vim -O file1 file2 file3 ….Add a number n after -o, we can open multiple files in multiple split windows). Split window Add a Read more…

A prohibited operation