vim new file in split code example Example: vim switch windows ctrl+w then the direction to move in so hjkl or arrow keys or w again to toggle