You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However there are no key bindings to toggle the following options in the find/replace panels.
There is no documentation (official or unofficial) about them at all, as far as I can tell, and no mention of them anywhere (toggle_in_selection excepted) apart from the posts I have made about them in the Sublime Text forum and in an issue on the Sublime Text Unofficial Documentation Github repository.
I only managed to find them by guessing the command names with a trial-and-error approach.
Find/Replace Panel Options - Not Documented Anywhere AFAICT
-----------------------------------------------------------
Toggle Wrap: Command: toggle_wrap
Toggle In Selection: Command: toggle_in_selection
Toggle Highlight Matches: Command: toggle_highlight
Toggle Show Context: Command: toggle_show_context
Toggle Use Buffer: Command: toggle_use_buffer
I suggest key bindings are added for all of these options to the existing Default (OS).sublime-keymap files.
For example:
// Key bindings for toggling wrap in find / replace panels.
{ "keys": ["alt+p"], "command": "toggle_wrap", "context":
[
{ "key": "setting.is_widget", "operator": "equal", "operand": true }
]
},
// Key bindings for toggling in selection in find / replace panels.
{ "keys": ["alt+s"], "command": "toggle_in_selection", "context":
[
{ "key": "setting.is_widget", "operator": "equal", "operand": true }
]
},
// Key bindings for toggling highlight matches in find / replace panels.
{ "keys": ["alt+h"], "command": "toggle_highlight", "context":
[
{ "key": "setting.is_widget", "operator": "equal", "operand": true }
]
},
// Key bindings for toggling show context in find / replace in files panel.
{ "keys": ["alt+t"], "command": "toggle_show_context", "context":
[
{ "key": "setting.is_widget", "operator": "equal", "operand": true }
]
},
// Key bindings for toggling use buffer in find / replace in files panel.
{ "keys": ["alt+b"], "command": "toggle_use_buffer", "context":
[
{ "key": "setting.is_widget", "operator": "equal", "operand": true }
]
},
Hope this helps.
The text was updated successfully, but these errors were encountered:
Enhancement
The existing
Default (OS).sublime-keymap
files have key bindings to toggle the following options in the find/replace panels:However there are no key bindings to toggle the following options in the find/replace panels.
There is no documentation (official or unofficial) about them at all, as far as I can tell, and no mention of them anywhere (
toggle_in_selection
excepted) apart from the posts I have made about them in the Sublime Text forum and in an issue on the Sublime Text Unofficial Documentation Github repository.I only managed to find them by guessing the command names with a trial-and-error approach.
I suggest key bindings are added for all of these options to the existing
Default (OS).sublime-keymap
files.For example:
Hope this helps.
The text was updated successfully, but these errors were encountered: