Book Mode in Vim

Sometimes you have a lot of code, and your screen isn’t tall enough. I found this blog post that shows you how to set up Vim in a sort of “book-mode” where you have two or more panes that scroll synchronously so that you can see two or more pages of code at once.

  1. 1G
  2. CTRL-W v
  3. :set scrollbind
  4. CTRL-W l
  5. CTRL-F
  6. :set scrollbind
  7. CTRL-W h