-
Notifications
You must be signed in to change notification settings - Fork 19
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
Windows and Linux keymap #1
Changes from 3 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,35 @@ | ||
# The descriptions above the key bindings are the ones from the IntelliJ IDEA Max OS X Keymap | ||
|
||
# The descriptions above the key bindings are the ones from the IntelliJ IDEA Keymap | ||
# Use more specific selector than core key bindings | ||
|
||
################################################################################ | ||
# Multi-platform # | ||
################################################################################ | ||
'atom-workspace atom-text-editor:not([mini])': | ||
|
||
########### | ||
# Editing # | ||
########### | ||
|
||
# Smart line join | ||
'ctrl-shift-j': 'editor:join-lines' | ||
|
||
############## | ||
# Navigation # | ||
############## | ||
|
||
# Select current file or symbol in any view | ||
'alt-f1': 'tree-view:reveal-active-file' | ||
|
||
|
||
################################################################################ | ||
# Mac OS only # | ||
################################################################################ | ||
'.platform-darwin atom-workspace atom-text-editor:not([mini])': | ||
|
||
########### | ||
# Editing # | ||
########### | ||
|
||
# Duplicate current line or selected block | ||
'cmd-d': 'editor:duplicate-lines' | ||
|
||
|
@@ -19,9 +42,6 @@ | |
# Delete line at caret | ||
'cmd-backspace': 'editor:delete-line' | ||
|
||
# Smart line join | ||
'ctrl-shift-j': 'editor:join-lines' | ||
|
||
# Move line up | ||
'cmd-shift-up': 'editor:move-line-up' | ||
|
||
|
@@ -46,7 +66,7 @@ | |
############## | ||
|
||
# Go to class | ||
'cmd-o': 'fuzzy-finder:toggle-buffer-finder' | ||
'cmd-o': 'fuzzy-finder:toggle-file-finder' | ||
|
||
# Go to file | ||
'cmd-shift-o': 'fuzzy-finder:toggle-file-finder' | ||
|
@@ -63,9 +83,6 @@ | |
# Recent files popup | ||
'cmd-e': 'fuzzy-finder:toggle-buffer-finder' | ||
|
||
# Select current file or symbol in any view | ||
'alt-f1': 'tree-view:reveal-active-file' | ||
|
||
################## | ||
# Live Templates # | ||
################## | ||
|
@@ -82,3 +99,89 @@ | |
|
||
# Find action | ||
'cmd-shift-a': 'command-palette:toggle' | ||
|
||
################################################################################ | ||
# Windows & Linux # | ||
################################################################################ | ||
'.platform-win32 atom-workspace atom-text-editor:not([mini]), .platform-linux atom-workspace atom-text-editor:not([mini])': | ||
|
||
########### | ||
# Editing # | ||
########### | ||
|
||
# Duplicate current line or selected block | ||
'ctrl-d': 'editor:duplicate-lines' | ||
|
||
# Select successively increasing code blocks | ||
'alt-up': 'editor:select-to-next-subword-boundary' | ||
|
||
# Decrease current selection to previous state | ||
'alt-down': 'editor:select-to-previous-subword-boundary' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can't this be added to the multi-platform part? |
||
|
||
# Delete line at caret | ||
'shift-delete': 'editor:delete-line' | ||
'ctrl-y': 'editor:delete-line' | ||
|
||
# Smart line join | ||
'ctrl-shift-j': 'editor:join-lines' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is this needed here as it is already in the multi-platform part? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Actually, it's ctrl-w/ctrl-shift-w on Windows/Linux |
||
|
||
# Move line up | ||
'ctrl-shift-up': 'editor:move-line-up' | ||
|
||
# Move line down | ||
'ctrl-shift-down': 'editor:move-line-down' | ||
|
||
################## | ||
# Search/Replace # | ||
################## | ||
|
||
# Replace | ||
'ctrl-r': 'find-and-replace:show' | ||
|
||
# Find in path | ||
'ctrl-shift-f': 'project-find:show' | ||
|
||
# Replace in path | ||
'ctrl-shift-r': 'project-find:show' | ||
|
||
############## | ||
# Navigation # | ||
############## | ||
|
||
# Go to class | ||
'ctrl-n': 'fuzzy-finder:toggle-file-finder' | ||
|
||
# Go to file | ||
'ctrl-shift-n': 'fuzzy-finder:toggle-file-finder' | ||
|
||
# Go to next editor tab | ||
'alt-right': 'pane:show-next-item' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Could you maybe add this to the MAC keymap as |
||
|
||
# Go to previous editor tab | ||
'alt-left': 'pane:show-previous-item' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Could you maybe add this to the MAC keymap as There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't have a Mac but reading IntelliJ's reference card, it's ctrl+right/left on Mac but alt+right/left on Win/Linux. |
||
|
||
# Go to line | ||
'ctrl-l': 'go-to-line:toggle' | ||
|
||
# Recent files popup | ||
'ctrl-e': 'fuzzy-finder:toggle-buffer-finder' | ||
|
||
# Select current file or symbol in any view | ||
'alt-f1': 'tree-view:reveal-active-file' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can't this be added to the multi-platform part? |
||
|
||
################## | ||
# Live Templates # | ||
################## | ||
|
||
# Insert live templates | ||
'ctrl-j': 'snippets:available' | ||
|
||
########### | ||
# General # | ||
########### | ||
|
||
# Open corresponding tool window | ||
'ctrl-1': 'tree-view:toggle' | ||
|
||
# Find action | ||
'ctrl-shift-a': 'command-palette:toggle' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can't this be added to the multi-platform part?