Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ugovaretto/6d00ad1a17131a99a7133cc31d17ad4f to your computer and use it in GitHub Desktop.
Save ugovaretto/6d00ad1a17131a99a7133cc31d17ad4f to your computer and use it in GitHub Desktop.
Write control characters in Vim
Use Ctrl-V-* where * = control character e.g M (Carriage Return) to type control characters in macros e.g.
s/\[code.*\]/```cpp/g^M
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment