From 93cc10c8e3b56f7f242fc3f2a7fd7553a9515b3e Mon Sep 17 00:00:00 2001 From: Paul Griffin Petty Date: Tue, 4 Oct 2016 13:16:20 -0400 Subject: [PATCH] add contextual menu commands this allows for the "right-click" contextual menu to show shortcuts for viewing the current --- menus/open-on-github.cson | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/menus/open-on-github.cson b/menus/open-on-github.cson index 7888d8a..75d31a5 100644 --- a/menus/open-on-github.cson +++ b/menus/open-on-github.cson @@ -16,3 +16,18 @@ ] } ] +'context-menu': + 'atom-text-editor': [{ + label: 'Open On GitHub', + submenu: [ + { 'label': 'Blame', 'command': 'open-on-github:blame' } + { 'label': 'Branch Compare', 'command': 'open-on-github:branch-compare' } + { 'label': 'Copy URL', 'command': 'open-on-github:copy-url' } + { 'label': 'File', 'command': 'open-on-github:file' } + { 'label': 'File on Master', 'command': 'open-on-github:file-on-master' } + { 'label': 'History', 'command': 'open-on-github:history' } + { 'label': 'Issues', 'command': 'open-on-github:issues' } + { 'label': 'Repository', 'command': 'open-on-github:repository' } + ] +}] +