Skip to content

Commit f8432bc

Browse files
authored
Merge pull request #7 from 5pid/master
enhance Mac keymap
2 parents 9c37ae6 + ee8b972 commit f8432bc

File tree

1 file changed

+54
-0
lines changed

1 file changed

+54
-0
lines changed

keymaps/intellij-idea-keymap.cson

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,18 @@
2828
# https://resources.jetbrains.com/assets/products/intellij-idea/IntelliJIDEA_ReferenceCard_mac.pdf #
2929
####################################################################################################
3030

31+
'body':
32+
33+
##########
34+
# window #
35+
##########
36+
37+
# Goto Next Splitter
38+
'alt-tab': 'window:focus-next-pane'
39+
40+
# Goto Splitter Splitter
41+
'alt-shift-tab': 'window:focus-previous-pane'
42+
3143
'.platform-darwin atom-workspace':
3244

3345
##################
@@ -84,6 +96,15 @@
8496
# Move line down
8597
'cmd-shift-down': 'editor:move-line-down'
8698

99+
# Move line up
100+
'alt-shift-up': 'editor:move-line-up'
101+
102+
# Move line down
103+
'alt-shift-down': 'editor:move-line-down'
104+
105+
# Reformat code
106+
'cmd-alt-l': 'atom-beautify:beautify-editor'
107+
87108
##################
88109
# Search/Replace #
89110
##################
@@ -113,13 +134,46 @@
113134
# Recent files popup
114135
'cmd-e': 'fuzzy-finder:toggle-buffer-finder'
115136

137+
# Reveal active file
138+
'cmd-ctrl-s': 'tree-view:reveal-active-file'
139+
140+
# Show bookmarks
141+
'cmd-f3': 'bookmarks:view-all'
142+
143+
# Toggle bookmark
144+
'f3': 'bookmarks:toggle-bookmark'
145+
116146
##################
117147
# Live Templates #
118148
##################
119149

120150
# Insert live templates
121151
'cmd-j': 'snippets:available'
122152

153+
'.platform-darwin .tree-view':
154+
155+
###########
156+
# General #
157+
###########
158+
159+
'cmd-n': 'tree-view:add-file'
160+
161+
##############
162+
# Navigation #
163+
##############
164+
165+
# Open corresponding tool window
166+
'cmd-1': 'tree-view:toggle'
167+
168+
###########
169+
# Editing #
170+
###########
171+
172+
'cmd-shift-c': 'tree-view:copy-full-path'
173+
'cmd-r': 'tree-view:move'
174+
'f6': 'tree-view:move'
175+
'shift-f6': 'tree-view:move'
176+
123177
####################################################################################################
124178
# Windows & Linux #
125179
# --------------- #

0 commit comments

Comments
 (0)