sublime-TortoiseSVN
sublime-TortoiseSVN copied to clipboard
The shortcut of revert command is conflicted with regex toggle in find menu.
Updated: fix my typo of the key bindings.
When hitting Ctrl+F, sublime text will open find menu in the bottom of window, and user can hit Alt+R / Alt+C / Alt+W to toggle Regex / Case / WholeWord switches.
The key bindings of sublime-TortoiseSVN is conficted to those toggle-shortcuts,
Alt+C: toggle Case sensitive (default) <> Commit (sublime-tortoiseSVN) Alt+R: toggle Regex (default) <> Revert (sublime-tortoiseSVN)
add version and os info: Sublime 3 at Windows 7.
It make me a little mystified. sublime-TortoiseSVN use [ALT] by default, not Ctrl. And, you can change the key binding as needed in Preferences -> Package Settings -> TortoiseSVN -> Key Binding - User .
I hope this can help you.
sorry, I just type wrong key binding.
Both sublime-TortoiseSVN and find-toggle-switches use [ALT] as the hotkey modifier.
I have tried change the key binding in Preferences -> Package Settings -> TortoiseSVN -> Key Binding - User
, as follows:
{ "keys": ["alt+u"], "command": "svn_update" }
,{ "keys": ["alt+shift+c"], "command": "svn_commit" }
,{ "keys": ["alt+shift+r"], "command": "svn_revert" }
But the key [ALT+R] still bound to "svn_revert", not the original function of "toggle regexp"
I am having the same problem as described by tzengyuxio.
On Windows alt+r toggles the regex search feature and alt+c toggles the case sensitivity in a search... but when I have sublime-TortoiseSVN installed these hotkeys are overridden by the sublime-TortoiseSVN default keybinding.
When I set user key bindings for sublime-TortoiseSVN it doesn't change the default bindings for the package.
My platform is Windows 7. I am running Sublime Text 3
Suggestion: Remove the default keybindings from the package installation and leave them as a comment suggesting keybindings.
I've found a way of workaround by adding come overriding config into your Preferences - Package Settings - TortoiseSVN - Keybindings User like this:
{ "keys": ["alt+u"], "command": "unbound" },
{ "keys": ["alt+c"], "command": "unbound" },
{ "keys": ["alt+r"], "command": "unbound" },
{ "keys": ["alt+c"], "command": "toggle_case_sensitive", "context":
[
{ "key": "setting.is_widget", "operator": "equal", "operand": true }
]
},
{ "keys": ["alt+r"], "command": "toggle_regex", "context":
[
{ "key": "setting.is_widget", "operator": "equal", "operand": true }
]
},