Skip to content

Instantly share code, notes, and snippets.

@austinogilvie
Created October 20, 2013 16:18
Show Gist options
  • Select an option

  • Save austinogilvie/7071725 to your computer and use it in GitHub Desktop.

Select an option

Save austinogilvie/7071725 to your computer and use it in GitHub Desktop.
Keyboard shortcut for inserting a proper equals operator "<-" for R using Sublime Text 2.
[
{
"keys": ["alt+minus"],
"command": "insert",
"args":
{
"characters": " <- "
},
"context": [
{
"key": "selector",
"operator": "equal",
"operand": "source.r"
}
]
}
]
subl ~/Library/Application\ Support/Sublime\ Text\ 2/Packages/User/Default\ \(OSX\).sublime-keymap
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment