vim terminal scroll code example Example: vim terminal scrollback Ctrl-w N Once finished just hit either 'i' or 'a' to switch back.