Home Download Buy Blog Forum Support

What is binding dictionary/Wikipedia look up?

What is binding dictionary/Wikipedia look up?

Postby Whupper on Tue Dec 31, 2013 3:18 am

Hi,

If I press ctrl+super+d (i.e. ctrl+command+d) on Mac, Sublime 3 displays a dictionary and Wikipedia definition of the word under my cursor.

But I can't find where that keymap is defined. If I look in my default key bindings, it says:

{ "keys": ["ctrl+super+d"], "command": "noop" },

If I add a custom key binding for ctrl+super+d, it is ignored and still does a dictionary look up!

I have very few plugins installed, and none of them relate to dictionary look ups (as far as I can tell).

I tried the BoundKeys plugin, and it still just points to the default noop definition.

Any idea on where this seemingly special key binding is occurring?
Whupper
 
Posts: 2
Joined: Tue Dec 31, 2013 3:10 am

Re: What is binding dictionary/Wikipedia look up?

Postby skuroda on Tue Dec 31, 2013 3:59 am

It's possible you have some other application (outside of ST) doing things.
skuroda
 
Posts: 687
Joined: Fri Oct 05, 2012 8:11 am

Re: What is binding dictionary/Wikipedia look up?

Postby demetris on Tue Dec 31, 2013 5:49 am

It’s a system binding and it seems that it is not simple to disable. I did a quick search and the most promising place to start seemed to be this topic on superuser:

http://superuser.com/questions/326223/h ... ut-in-os-x

Cheers!
demetris
 
Posts: 1
Joined: Thu Sep 19, 2013 11:12 am

Re: What is binding dictionary/Wikipedia look up?

Postby Whupper on Tue Dec 31, 2013 5:36 pm

Thank you very much for the answers.

It didn't occur to me that it was something outside of Sublime because I never tried those keys in any other application. But you're right, I can press Ctrl+Command+D on the Mac at any time and it will show me the dictionary definition of whatever is under the mouse cursor.

It looks like overriding that keystroke is pretty difficult, thanks Apple!

Thanks for the assistance, guys, now I know what to investigate, and know that it's not Sublime.
Whupper
 
Posts: 2
Joined: Tue Dec 31, 2013 3:10 am


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 31 guests