Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enhance Mac keymap #7

Merged
merged 3 commits into from
Sep 29, 2016
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
65 changes: 65 additions & 0 deletions keymaps/intellij-idea-keymap.cson
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,24 @@
# https://resources.jetbrains.com/assets/products/intellij-idea/IntelliJIDEA_ReferenceCard_mac.pdf #
####################################################################################################

'body':

##########
# window #
##########

# Select Next Tab
'cmd-shift-]': 'pane:show-next-item'
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This shortcut already works out of the box in Atom. I would remove it here such that we just have the shortcuts which are different between IDEA and Atom.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

deleted line.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line is still in and is not deleted. Could you also delete this one?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry. It is my mistake.


# Select Previous Tab
'cmd-shift-[': 'pane:show-previous-item'
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This shortcut already works out of the box in Atom. I would remove it here such that we just have the shortcuts which are different between IDEA and Atom.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line is still in and is not deleted. Could you also delete this one?


# Goto Next Splitter
'alt-tab': 'window:focus-next-pane'

# Goto Splitter Splitter
'alt-shift-tab': 'window:focus-previous-pane'

'.platform-darwin atom-workspace':

##################
Expand Down Expand Up @@ -84,6 +102,15 @@
# Move line down
'cmd-shift-down': 'editor:move-line-down'

# Move line up
'alt-shift-up': 'editor:move-line-up'

# Move line down
'alt-shift-down': 'editor:move-line-down'

# Reformat code
'cmd-alt-l': 'atom-beautify:beautify-editor'

##################
# Search/Replace #
##################
Expand All @@ -109,17 +136,55 @@

# Go to line
'cmd-l': 'go-to-line:toggle'
'cmd-\\': 'unset!' # cancel the tree-view shortcut
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would not unset the standard shortcuts as the shortcuts for idea should just be an addition to the default ones. Could you maybe remove all the unset! shortcuts?

'cmd-k cmd-b': 'unset!' # cancel the tree-view shortcut
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would not unset the standard shortcuts as the shortcuts for idea should just be an addition to the default ones. Could you maybe remove all the unset! shortcuts?


# Recent files popup
'cmd-e': 'fuzzy-finder:toggle-buffer-finder'

# Reveal active file
'cmd-ctrl-s': 'tree-view:reveal-active-file'

# Show bookmarks
'cmd-f3': 'bookmarks:view-all'

# Toggle bookmark
'f3': 'bookmarks:toggle-bookmark'

##################
# Live Templates #
##################

# Insert live templates
'cmd-j': 'snippets:available'

'.platform-darwin .tree-view':

###########
# General #
###########

'a': 'unset!'
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would not unset the standard shortcuts as the shortcuts for idea should just be an addition to the default ones. Could you maybe remove all the unset! shortcuts?

'cmd-n': 'tree-view:add-file'

##############
# Navigation #
##############

# Open corresponding tool window
'cmd-1': 'tree-view:toggle'

###########
# Editing #
###########

'ctrl-shift-C': 'unset!'
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would not unset the standard shortcuts as the shortcuts for idea should just be an addition to the default ones. Could you maybe remove all the unset! shortcuts?

'cmd-shift-c': 'tree-view:copy-full-path'
'f2': 'unset!'
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would not unset the standard shortcuts as the shortcuts for idea should just be an addition to the default ones. Could you maybe remove all the unset! shortcuts?

'cmd-r': 'tree-view:move'
'f6': 'tree-view:move'
'shift-f6': 'tree-view:move'

####################################################################################################
# Windows & Linux #
# --------------- #
Expand Down