Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Same keymaps in IntelliJ IDEA and Atom editor

I use WebStorm, Android Studio and Atom.

Android Studio and WebStorm I just export settings but atom I cant import settings from IntellJ IDEA.

How can I keep the same shortcuts (keymaps) from IntelliJ and Atom editor?

There are any tool that I can export keymaps from IntelliJ into Atom format?

like image 614
ridermansb Avatar asked Aug 20 '15 13:08

ridermansb


People also ask

What is the default keymap for IntelliJ?

IntelliJ IDEA includes several predefined keymaps and lets you customize frequently used shortcuts. To view the keymap configuration, open the Settings/Preferences dialog Ctrl+Alt+S and select Keymap. IntelliJ IDEA automatically suggests a predefined keymap based on your environment.

What does Ctrl Alt l do in IntelliJ?

Sometimes code formatting can get out of sync, but there's an easy fix in IntelliJ IDEA. You can use ⌘⌥L (macOS), or Ctrl+Alt+L (Windows/Linux) to reformat a selection of code according to your reformat settings.

What is Ctrl K in IntelliJ?

CTRL + J : Navigate – Go To Implementations. CTRL + K : 3 things here: View Recent Files + Toggle Changed Only Files + Iterate Recent Files. CTRL + L : Navigate – Go To Declaration or Usages. ALT + H : Editor Actions – Left. ALT + J : Editor Actions – Down.

How do I change the editor in IntelliJ?

To configure the settings for editor tabs, use the Editor | General | Editor Tabs page of the Settings/Preferences dialog ( Ctrl+Alt+S ). Alternatively, right-click a tab and select Configure Editor Tabs from the list of options.


1 Answers

I searched everywhere for this when i started atom. Sadly i never found anything. This is by no means a complete map. Just some of the ones i used the most. The keymap system in atom was very frustrating and took a while for some things. But here you go if any will be of help to you. Also, here is my .atom folder.

https://github.com/j-walker23/dotfiles/tree/develop/atom/atom.symlink

'body':
  'cmd-h': 'unset!'

'html atom-text-editor.vim-mode.normal-mode':
  'U': 'core:redo'
  'cmd-1': 'tree-view:toggle-focus'
  'L': 'vim-mode:move-to-last-character-of-line'
  'cmd-F': 'formatter:format-code'
  'cmd-shift-c': 'window:toggle-dev-tools'
  'cmd-.': 'key-peek:toggle'
  'cmd->': 'key-binding-resolver:toggle'

  'cmd-k h':  'pane:split-left-creating-empty-pane'
  'cmd-k l': 'pane:split-right-creating-empty-pane'
  'cmd-k k':    'pane:split-up-creating-empty-pane'
  'cmd-k j':  'pane:split-down-creating-empty-pane'

  'cmd-k m h':  'pane:split-left-moving-current-tab'
  'cmd-k m l': 'pane:split-right-moving-current-tab'
  'cmd-k m k':    'pane:split-up-moving-current-tab'
  'cmd-k m j':  'pane:split-down-moving-current-tab'

  'cmd-I': 'pane-move:down'
  'cmd-H': 'pane-move:left'
  'cmd-L': 'pane-move:right'
  'cmd-K': 'pane-move:up'


'html .platform-darwin atom-text-editor.vim-mode:not(.insert-mode)':
  'cmd-p': 'clipboard-plus:toggle'
  'cmd-shift-v': 'clipboard-plus:toggle'


'atom-text-editor.vim-mode.normal-mode':
  'o': 'custom:newline-below'
  'O': 'custom:newline-above'

'atom-panel.clipboard-plus, atom-panel .project-manager, .platform-darwin .command-palette, .fuzzy-finder':
  'J': 'core:move-down'
  'K': 'core:move-up'

'atom-text-editor:not(.mini).vim-mode:not(.insert-mode):not(.jumpy-jump-mode)':
    'f':    'jumpy:toggle'

'html atom-workspace':
  'cmd-n': 'tree-view:add-file'
  'cmd-shift-o': 'fuzzy-finder:toggle-file-finder'

'html .platform-darwin atom-text-editor':
  # 'cmd-e': 'recent-files-fuzzy-finders:toggle-finder'
  'cmd-b': 'symbols-view:go-to-declaration'
  'cmd-shift-b': 'symbols-view:return-from-declaration'
  'cmd-r': 'find-and-replace:show-replace'
  'cmd-[': 'last-cursor-position:previous'
  'cmd-]': 'last-cursor-position:next'

'html .platform-darwin atom-text-editor.vim-mode:not(.insert-mode)':
  'n': 'find-and-replace:find-next'

'atom-workspace atom-pane, atom-workspace atom-text-editor:not(.mini)':
  'cmd-k n l': 'window:focus-pane-on-right'
  'cmd-k n h': 'window:focus-pane-on-left'
  'cmd-k n j': 'window:focus-pane-below'
  'cmd-k n k': 'window:focus-pane-above'
like image 130
j_walker_dev Avatar answered Oct 02 '22 19:10

j_walker_dev