Home Download Buy Blog Forum Support

Find in selection keyboard shortcut

Find in selection keyboard shortcut

Postby kakubei on Fri May 10, 2013 11:48 am

Apologies is this has been asked, but I haven't found it anywhere.

What is the keyboard shortcut (on OS X) to toggle Find in Selection with sublimeText 3 beta (or even SublimeText2 which should be the same).

In ST2, when I selected a couple of lines, the Find in Selection option was toggled on by default. This behaviour does not happen in ST3 beta. I understand it's beta and might not have been implemented yet, but I am looking for the keyboard shortcut to toggle it on so I don't have to click on the little icon each time.

thanks.
kakubei
 
Posts: 58
Joined: Sun Sep 25, 2011 9:19 am

Re: Find in selection keyboard shortcut

Postby stevenp on Sun Sep 01, 2013 9:14 am

is it possible to bind a toggle shortcut/hotkey, e.g. Alt+S for "in selection" button in Replace dialog?

Image
stevenp
 
Posts: 7
Joined: Wed Jul 17, 2013 9:59 pm

Re: Find in selection keyboard shortcut

Postby G-Force on Mon Feb 09, 2015 7:50 pm

Add the following to your user key bindings file:
Code: Select all
{ "keys": ["alt+s"], "command": "toggle_in_selection", "context":
      [
         { "key": "setting.is_widget", "operator": "equal", "operand": true }
      ]
   }

This works for me in ST3; haven't tested in ST2.
G-Force
 
Posts: 3
Joined: Tue Jan 29, 2013 5:30 pm


Return to Technical Support

Who is online

Users browsing this forum: Google [Bot] and 17 guests