Skip to content

Commit

Permalink
fix default keybindings
Browse files Browse the repository at this point in the history
  • Loading branch information
stamblerre committed May 16, 2017
1 parent c26eccf commit 9d0671a
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 9d0671a

Please sign in to comment.