From 9d0671ac09195a816693560b45c4dfdb637fe89a Mon Sep 17 00:00:00 2001 From: Rebecca Stambler Date: Tue, 16 May 2017 15:40:43 -0400 Subject: [PATCH] fix default keybindings --- Default (Linux).sublime-keymap | 12 ++++++------ Default (OSX).sublime-keymap | 15 +++++++-------- Default (Windows).sublime-keymap | 14 +++++++------- 3 files changed, 20 insertions(+), 21 deletions(-) diff --git a/Default (Linux).sublime-keymap b/Default (Linux).sublime-keymap index 49f571c..e09d344 100644 --- a/Default (Linux).sublime-keymap +++ b/Default (Linux).sublime-keymap @@ -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. + */ +] \ No newline at end of file diff --git a/Default (OSX).sublime-keymap b/Default (OSX).sublime-keymap index 2951332..e09d344 100644 --- a/Default (OSX).sublime-keymap +++ b/Default (OSX).sublime-keymap @@ -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. + */ +] \ No newline at end of file diff --git a/Default (Windows).sublime-keymap b/Default (Windows).sublime-keymap index be55bd3..e09d344 100644 --- a/Default (Windows).sublime-keymap +++ b/Default (Windows).sublime-keymap @@ -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. + */ +] \ No newline at end of file