Skip to content

Instantly share code, notes, and snippets.

@euoia
Created November 4, 2013 11:50
Show Gist options
  • Save euoia/7301470 to your computer and use it in GitHub Desktop.
Save euoia/7301470 to your computer and use it in GitHub Desktop.
Formatting options in Vim for TODOs in comments
In my comments I have this:
// TODO: I found it hard to find tutorials or guides for how to use superagent
// session cookies with socket.io. This is required because session data is
// retrieved even on socket.io requests (due to session.socket.io). If I get
// this working, I ought to write it up publicly.
I would like to be able to select the text, format paragraph using gq, and get this:
// TODO: I found it hard to find tutorials or guides for how to use superagent
// session cookies with socket.io. This is required because session data is
// retrieved even on socket.io requests (due to session.socket.io). If I get
// this working, I ought to write it up publicly.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment