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