-
-
Save tomschenkjr/3050337 to your computer and use it in GitHub Desktop.
// 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": "/\\()\"‘-:,;~!@#$%^&*|+=[]{}`~?"} |
And Markdown struggles with it too :). It removed the backtick before the tilde there…
Thanks for the feedback! I changed the quotation marks in the gists. Hopefully it should work on the first copy/paste.
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
Last comment on this stuff, I promise :) (It's been super helpful for me to get Sublime Text set up with R, so thanks!)
This gist and https://gist.github.com/2859378 use typographer's quotes (”“, etc.) instead of straight quotes (") because of WordPress, which makes it so it doesn't work automatically in Sublime Text. It should be
"word_separators": "/\\()\"'-:,;<>~!@#$%^&*|+=[]{}\
~?"`