Skip to content

Instantly share code, notes, and snippets.

@ugovaretto
Last active March 4, 2020 14:55
Show Gist options
  • Save ugovaretto/555075379126d7a7a40c9926003faf70 to your computer and use it in GitHub Desktop.
Save ugovaretto/555075379126d7a7a40c9926003faf70 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