set multiple vim files code example Example: edit another file in same editor vim :split file #switch between files (toggle active file) ctrl-w ctrl-w