6

我使用WebStorm,Android Studio和Atom。IntelliJ IDEA和Atom编辑器中的相同键盘映射

Android Studio和WebStorm我只是导出设置,但原子我不能从IntellJ IDEA导入设置。

如何从IntelliJ和Atom编辑器保持相同的快捷键(键盘映射)?

有什么工具可以将IntelliJ从IntelliJ导出到Atom格式?

回答

5

我到处搜索这个当我开始原子。可悲的是我从来没有找到任何这绝不是完整的地图。只是我使用最多的一些。原子中的键盘映射系统非常令人沮丧,并且花了一些时间去处理某些事情。 但是,如果有任何对你有帮助的地方,你就去。 另外,这里是我的.atom文件夹。

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'