Skip to content

Commit

Permalink
Merge pull request #36 from stamblerre/master
Browse files Browse the repository at this point in the history
fix default keybindings
  • Loading branch information
alvarolm authored May 20, 2017
2 parents c26eccf + 9d0671a commit e5445c2
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 21 deletions.
12 changes: 6 additions & 6 deletions Default (Linux).sublime-keymap
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
[
{ "keys": ["ctrl+shift+g"], "command": "go_guru"},
{ "keys": ["ctrl+alt+shift+g"], "command": "go_guru_show_results"},
{ "keys": ["ctrl+.+ctrl+g"], "command": "go_guru_goto_definition", "context": [{ "key": "selector", "operator": "equal", "operand": "source.go" }] },
]
/*
{ "keys": ["ctrl+.", "ctrl+g"], "command": "go_guru_goto_definition", "context": [{ "key": "selector", "operator": "equal", "operand": "source.go" }] },
/*
You can also set a key binding for a specific mode by adding a "mode" arg, e.g.:
...
{ "keys": ["ctrl+super+c"], "command": "go_guru", "args": {"mode": "callers"} },
{ "keys": ["ctrl+super+i"], "command": "go_guru", "args": {"mode": "implements"} },
{ "keys": ["ctrl+super+r"], "command": "go_guru", "args": {"mode": "referrers"} },
{ "keys": ["ctrl+.+ctrl+g"], "command": "go_guru", "args": {"mode": "definition", output=false}},
{ "keys": ["ctrl+.+ctrl+g"], "command": "go_guru", "args": {"mode": "definition", "output": false}},
...
please set this in your user keybinds, no here.
*/
Please set this in your user keybindings, not here.
*/
]
15 changes: 7 additions & 8 deletions Default (OSX).sublime-keymap
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
[
{ "keys": ["ctrl+shift+g"], "command": "go_guru"},
{ "keys": ["ctrl+alt+shift+g"], "command": "go_guru_show_results"},
{ "keys": ["ctrl+.+ctrl+g"], "command": "go_guru_goto_definition", "context": [{ "key": "selector", "operator": "equal", "operand": "source.go" }] },
]
/*
You can also set a key binding for a specific mode by adding a "mode" arg, e.g.:
{ "keys": ["ctrl+.", "ctrl+g"], "command": "go_guru_goto_definition", "context": [{ "key": "selector", "operator": "equal", "operand": "source.go" }] },
/*
You can also set a key binding for a specific mode by adding a "mode" arg, e.g.:
...
{ "keys": ["ctrl+super+c"], "command": "go_guru", "args": {"mode": "callers"} },
{ "keys": ["ctrl+super+i"], "command": "go_guru", "args": {"mode": "implements"} },
{ "keys": ["ctrl+super+r"], "command": "go_guru", "args": {"mode": "referrers"} },
{ "keys": ["ctrl+.+ctrl+g"], "command": "go_guru", "args": {"mode": "definition", output=false}},
{ "keys": ["ctrl+.+ctrl+g"], "command": "go_guru", "args": {"mode": "definition", "output": false}},
...
please set this in your user keybinds, no here.
*/
Please set this in your user keybindings, not here.
*/
]
14 changes: 7 additions & 7 deletions Default (Windows).sublime-keymap
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
[
{ "keys": ["ctrl+shift+g"], "command": "go_guru"},
{ "keys": ["ctrl+alt+shift+g"], "command": "go_guru_show_results"},
{ "keys": ["ctrl+.+ctrl+g"], "command": "go_guru_goto_definition", "context": [{ "key": "selector", "operator": "equal", "operand": "source.go" }] },
]
/*
You can also set a key binding for a specific mode by adding a "mode" arg, e.g.:
{ "keys": ["ctrl+.", "ctrl+g"], "command": "go_guru_goto_definition", "context": [{ "key": "selector", "operator": "equal", "operand": "source.go" }] },
/*
You can also set a key binding for a specific mode by adding a "mode" arg, e.g.:
...
{ "keys": ["ctrl+super+c"], "command": "go_guru", "args": {"mode": "callers"} },
{ "keys": ["ctrl+super+i"], "command": "go_guru", "args": {"mode": "implements"} },
{ "keys": ["ctrl+super+r"], "command": "go_guru", "args": {"mode": "referrers"} },
{ "keys": ["ctrl+.+ctrl+g"], "command": "go_guru", "args": {"mode": "definition", output=false}},
{ "keys": ["ctrl+.+ctrl+g"], "command": "go_guru", "args": {"mode": "definition", "output": false}},
...
please set this in your user keybinds, no here.
*/
Please set this in your user keybindings, not here.
*/
]

0 comments on commit e5445c2

Please sign in to comment.