This video is only a short sample, but you can access the full version and all our other great content by subscribing.



In this episode, Ben shows you how to use vim's windows to efficiently edit code.

Commands mentioned:

  • :h windows get general help on windows
  • :h CTRL-w list all window-related commands
  • :sp split horizontally
  • :vsp split vertically
  • C-w cycle through windows
  • C-w h/j/k/l move into window in given direction
  • C-w H/J/K/L move window in given direction
  • C-w o focus a single window (close others)