Godef
Godef copied to clipboard
Default key bindings conflict with normal text editing
The default key bindings "gd" and "gh" are triggered when you attempt to write those character sequences as text. You can't, for example, write "height" without Godef getting in the way. This is very annoying.
#25 is a manifestation of this.
Also found Sublime unable to type "gh" since the past few months or perhaps more.
This was a real bear to track down.
Keywords: Sublime Text 3 unable to type words containing G-H or G-D
Appears it was introduced on May 10th 2018 with e3e06a7.
Manually fixed for now by editing all Godef/Default*.sublime-keymap
files and replacing the contents with:
[
{ "keys": ["ctrl+shift+d"], "command": "godef" }
// { "keys": ["g","d"], "command": "godef" },
// { "keys": ["g","h"], "command": "godef_prev" }
]
OK, I will change the default key later.