Skip to content

Instantly share code, notes, and snippets.

@szTheory
Last active February 2, 2020 18:19
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 szTheory/0e8022f365531d4d1581ef1c56826a76 to your computer and use it in GitHub Desktop.
Save szTheory/0e8022f365531d4d1581ef1c56826a76 to your computer and use it in GitHub Desktop.
Add a keyboard shortcut for Elixir pipeline operator |> in Visual Studio Code with the Macros extension
{
"key": "cmd+i",
"command": "macros.addPipeline"
}
"macros.list": {
"addPipeline": [{"command": "type", "args": {"text": "|> "}}]
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment