Skip to content

Instantly share code, notes, and snippets.

@jdamick
Created October 26, 2017 19:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jdamick/4760621b950273a059bc02da3d01f536 to your computer and use it in GitHub Desktop.
Save jdamick/4760621b950273a059bc02da3d01f536 to your computer and use it in GitHub Desktop.
Move the cursor to the last line of Part 1.
Type Vgg to select the first part, and :w Part1.md<cr> to save that section to the first file.
Press `>j, which will move the cursor to the first line of Part 2.
Type VG to select the second part, and :w Part2.md<cr> to save that section to the second file.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment