Created
March 4, 2020 15:54
-
-
Save ugovaretto/ab40e3bf9466884f6e4792f1a7f5937e to your computer and use it in GitHub Desktop.
Create Vim command executing multiple commands
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
command! -nargs=0 -complete=command CodeBlock execute '%s/\[code.*\]/```cpp/g | %s/\[\/code.*\]/```/g' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment