forked from atom/github
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgit.cson
More file actions
134 lines (119 loc) · 4.58 KB
/
git.cson
File metadata and controls
134 lines (119 loc) · 4.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
'.workspace':
'ctrl-8': 'github:toggle-github-tab-focus'
'ctrl-shift-8': 'github:toggle-github-tab'
'ctrl-9': 'github:toggle-git-tab-focus'
'ctrl-shift-9': 'github:toggle-git-tab'
'alt-g enter': 'github:commit'
'alt-g f': 'github:fetch'
'alt-g shift-f': 'github:pull'
'alt-g p': 'github:push'
'alt-g shift-p': 'github:force-push'
'alt-g =': 'github:clone'
'atom-text-editor':
'alt-m 1': 'github:resolve-as-ours'
'alt-m 2': 'github:resolve-as-theirs'
'alt-m 3': 'github:resolve-as-base'
'alt-m enter': 'github:resolve-as-current'
'alt-m r': 'github:revert-current'
'.platform-darwin .github-Git':
'cmd-enter': 'github:commit'
'.platform-win32 .github-Git, .platform-linux .github-Git':
'ctrl-enter': 'github:commit'
'.github-StagingView':
'tab': 'core:focus-next'
'shift-tab': 'core:focus-previous'
'o': 'github:jump-to-file'
'left': 'core:move-left'
'.platform-darwin .github-StagingView':
'cmd-left': 'core:move-left'
'.platform-linux .github-StagingView, .platform-win32 .github-StagingView':
'ctrl-left': 'core-move-left'
'.github-CommitView button':
'tab': 'core:focus-next'
'shift-tab': 'core:focus-previous'
'.platform-darwin .github-StagingView.unstaged-changes-focused':
'cmd-backspace': 'github:discard-changes-in-selected-files'
'.platform-linux .github-StagingView.unstaged-changes-focused':
'ctrl-backspace': 'github:discard-changes-in-selected-files'
'.platform-win32 .github-StagingView.unstaged-changes-focused':
# Repeated to avoid line length
'ctrl-backspace': 'github:discard-changes-in-selected-files'
'.github-CommitView-editor atom-text-editor:not([mini])':
'tab': 'core:focus-next'
'shift-tab': 'core:focus-previous'
'.platform-darwin .github-CommitView-editor atom-text-editor:not([mini])':
'cmd-enter': 'github:commit'
'.platform-win32 .github-CommitView-editor atom-text-editor:not([mini])':
'ctrl-enter': 'github:commit'
'.platform-linux .github-CommitView-editor atom-text-editor:not([mini])':
# Repeated to avoid line length
'ctrl-enter': 'github:commit'
'.github-CommitView-commitPreview':
'left': 'github-dive'
'enter': 'native!'
'.platform-darwin .github-CommitView-commitPreview':
'cmd-left': 'github:dive'
'.platform-win32 .github-CommitView-commitPreview':
'ctrl-left': 'github:dive'
'.platform-linux .github-CommitView-commitPreview':
'ctrl-left': 'github:dive'
'.github-RecentCommits':
'left': 'github:dive'
'enter': 'github:dive'
'tab': 'core:focus-next'
'shift-tab': 'core:focus-previous'
'.platform-darwin .github-RecentCommits':
'cmd-left': 'github:dive'
'.platform-win32 .github-RecentCommits, .platform-linux .github-RecentCommits':
'ctrl-left': 'github:dive'
'.github-FilePatchView atom-text-editor:not([mini])':
# Only support unprefixed file patch keybindings until MultiFilePatch is
# editable
'/': 'github:toggle-patch-selection-mode'
'backspace': 'github:discard-selected-lines'
'enter': 'core:confirm'
'right': 'github:surface'
'o': 'github:jump-to-file'
'.platform-darwin .github-FilePatchView atom-text-editor:not([mini])':
'cmd-/': 'github:toggle-patch-selection-mode'
'cmd-backspace': 'github:discard-selected-lines'
'cmd-enter': 'core:confirm'
'cmd-right': 'github:surface'
'cmd-o': 'github:jump-to-file'
'.platform-win32 .github-FilePatchView atom-text-editor:not([mini])':
'ctrl-/': 'github:toggle-patch-selection-mode'
'ctrl-backspace': 'github:discard-selected-lines'
'ctrl-enter': 'core:confirm'
'ctrl-right': 'github:surface'
'ctrl-o': 'github:jump-to-file'
'.platform-linux .github-FilePatchView atom-text-editor:not([mini])':
'ctrl-/': 'github:toggle-patch-selection-mode'
'ctrl-backspace': 'github:discard-selected-lines'
'ctrl-enter': 'core:confirm'
'ctrl-right': 'github:surface'
'ctrl-o': 'github:jump-to-file'
'.github-FilePatchView--hunkMode atom-text-editor:not([mini])':
'down': 'github:select-next-hunk'
'up': 'github:select-previous-hunk'
'.github-Prompt-input':
'enter': 'core:confirm'
'esc': 'tool-panel:unfocus'
'.github-Dialog':
'shift-tab': 'core:focus-previous'
'.github-Dialog input':
'enter': 'core:confirm'
'.github-CoAuthorForm input':
'enter': 'core:confirm'
'body .github-CommitView-coAuthorEditor':
'enter': 'github:co-author:enter'
'down': 'github:co-author:down'
'up': 'github:co-author:up'
'tab': 'github:co-author:tab'
'backspace': 'github:co-author:backspace'
'escape': 'github:co-author:escape'
'pageup': 'github:co-author:pageup'
'pagedown': 'github:co-author:pagedown'
'home': 'github:co-author:home'
'end': 'github:co-author:end'
'delete': 'github:co-author:delete'
'shift-backspace': 'github:co-author-exclude'