Home Download Buy Blog Forum Support

Replace Shortcut Mac

Replace Shortcut Mac

Postby gnuchu on Thu Feb 23, 2012 1:32 pm

Using Sublime Text 2 latest beta. The shortcut Cmd-Option-F to do a replace doesn't seem to work.
gnuchu
 
Posts: 1
Joined: Thu Feb 23, 2012 1:30 pm

Re: Replace Shortcut Mac

Postby aaronszy on Fri Mar 23, 2012 9:15 pm

I'm having this problem also. super-alt-f doesn't do anything on a mac. Looking at the keymap it looks like this isn't a user editable shortcut so i can't try to assign it to something else. It would be great if we could get this to work. I'd rather not have to mouse through the menu to do a find/replace. Any ideas?
aaronszy
 
Posts: 3
Joined: Fri Mar 23, 2012 9:12 pm

Re: Replace Shortcut Mac

Postby jps on Sat Mar 24, 2012 6:09 am

On OS X, Command+Option+F will open the replace panel. It will do nothing if the replace panel is already open and focussed. To replace the next occurrence, the tooltip on the Replace button in the same panel will indicate the key binding to use.

aaronszy: All key bindings are editable.
jps
Site Admin
 
Posts: 3062
Joined: Wed Mar 19, 2008 12:33 pm

Re: Replace Shortcut Mac

Postby aaronszy on Thu Apr 05, 2012 4:23 pm

Ah, I found the key binding:
{ "keys": ["super+alt+f"], "command": "show_panel", "args": {"panel": "replace"} }

The replace panel is not open when I use this key binding. I removed all installed packages just to make sure they weren't causing issues. Also, i searched the key bindings for super+alt+f to see if there was something else conflicting with it. Not sure what's wrong with it.

I added an entry in the user key-bindings file, changing it to super+alt+r. This works. Not sure what's causing the issue with super+alt+f. Maybe there is something running on my machine that's capturing super+alt+f before sublime has a chance to. I don't know...
aaronszy
 
Posts: 3
Joined: Fri Mar 23, 2012 9:12 pm

Re: Replace Shortcut Mac

Postby jmesserer on Thu Apr 05, 2012 6:37 pm

I can confirm I am having the same problem. If I change the mapping to super+alt+shift+f it works but the default mapping does not work.
jmesserer
 
Posts: 3
Joined: Tue Jun 07, 2011 9:26 pm

Re: Replace Shortcut Mac

Postby vol0da on Thu Apr 05, 2012 10:23 pm

The default mapping (Cmd+Opt+F) is working for me. The latest beta build on OS X 10.7.3
vol0da
 
Posts: 3
Joined: Tue Dec 20, 2011 6:59 pm

Re: Replace Shortcut Mac

Postby aaronszy on Fri Apr 06, 2012 5:52 pm

I found my problem. I'm running a process called "shift-it" which is capturing the shortcut. When i shut it down, it works fine. So, not a bug.
aaronszy
 
Posts: 3
Joined: Fri Mar 23, 2012 9:12 pm

Re: Replace Shortcut Mac

Postby jmesserer on Mon Apr 30, 2012 9:08 pm

Great find! I am running ShiftIt too, once I disabled it the default key mapping works like it should.
jmesserer
 
Posts: 3
Joined: Tue Jun 07, 2011 9:26 pm


Return to Technical Support

Who is online

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