Skip to content

Instantly share code, notes, and snippets.

@tomschenkjr
Last active October 6, 2015 20:38
Show Gist options
  • Save tomschenkjr/3050337 to your computer and use it in GitHub Desktop.
Save tomschenkjr/3050337 to your computer and use it in GitHub Desktop.
Remove period (.) as a separator in R script.
// Characters that are considered to separate words – does not include periods.
// Place comma at the end of the line if there are multiple keybindings.
{"word_separators": "/\\()\"‘-:,;~!@#$%^&*|+=[]{}`~?"}
@tomschenkjr
Copy link
Author

Thanks for the feedback! I changed the quotation marks in the gists. Hopefully it should work on the first copy/paste.

@bryan4887
Copy link

Hi All,

As a complete n00b to sublime text, I was hoping one of you might be able to tell me why adding this keybinding to my User-keybindings file doesn't work. My file looks like:

[
// Characters that are considered to separate words – does not include periods.
// Place comma at the end of the line if there are multiple keybindings.
{"word_separators": "/()"‘-:,;!@#$%^&*|+=[]{}`?"}
]

But this doesn't result in the desired behavior. For example, if I put my cursor in a variable, foo.bar, and press Control-D, which should highlight the whole "word", it only highlights foo rather than the whole variable. Does anyone know why this doesn't work?

Thanks, I appreciate any help.
Bryan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment