Skip to content

Instantly share code, notes, and snippets.

@SplashDance
Last active March 18, 2022 22:45
Show Gist options
  • Save SplashDance/3995faf6f83d9d659eae to your computer and use it in GitHub Desktop.
Save SplashDance/3995faf6f83d9d659eae to your computer and use it in GitHub Desktop.
R -specific Keybindings for Sublime Text 3
[
// "assignment" operator -- Uses the same shortcut as RStudio
{ "keys": ["alt+-"], "command": "insert", "args": {"characters": " <- "}},
// magrittr's "pipe-forward" operator -- same as RStudio
{ "keys": ["super+shift+m"], "command": "insert", "args": {"characters": " %>% "}}
// Gist updated to reflect RStudio's updated shortcut (no longer "alt+shift+.")
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment