farcaller / DashDoc

Dash integration for Sublime Text

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Provide a better option for default dash hotkey

farcaller opened this issue · comments

Tracking bug for issue in #28.

A Cmd key combination would be nice as a default. Ctrl is just weird to press.

@jmagnusson But find a unused CMD+?? shortcut in ST3 - it's not really easy ;)

What about CMD+Shift+???

There should be definitely one ^

I hope to change the default key map or let user setting replace default one would be much helpful. Ctrl+H is DEL in OS X. When I don't want to move to Delete key(mostly in HHKB keyboard), I switch to this combination and got confused in dashdoc.

cmd + ``` is what I use. The upward-left movement isn't completely ideal, but it feels more natural than ctrl+`h`

But how could I configure the plugin to ignore ctrl+h ?

Huh. You have a good point -- pressing ctrl + h after defining a key
binding in user settings for the package still results in opening dash...
That's odd.
On Jan 17, 2015 6:43 PM, "ernestyao" notifications@github.com wrote:

But how could I configure the plugin to ignore ctrl+h ?


Reply to this email directly or view it on GitHub
#29 (comment).

I'm a little confused here.
Isn't Ctrl+H on Macs a left delete?

How do i invoke DashDoc at all?
Am i missing something?

{
    "button": "button1", 
    "count": 1, 
    "modifiers": ["alt"],
    "press_command": "drag_select",
    "command": "dash_doc"
}

this will be consistent with XCode

The keybinding ctrl+h is used to open the replace panel by the default.sublime-package. You must not overwrite default key bindings, if you don't intend to replace a default function by a better one.

This is fixed in 2.0 now.