android-studio - IntelliJ IDEA 和 Atom 编辑器中的相同键盘映射

标签 android-studio intellij-idea webstorm atom-editor keymapping

我使用 WebStorm、Android Studio 和 Atom。

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

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

有什么工具可以将 IntelliJ 中的键盘映射导出为 Atom 格式?

最佳答案

当我开始使用 atom 时,我到处寻找这个。可悲的是我从来没有发现任何东西。这绝不是一张完整的 map 。只是我用得最多的一些。 atom 中的键盘映射系统非常令人沮丧,并且在某些事情上花费了一些时间。
但是,如果对您有帮助,您就来吧。
另外,这是我的 .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'

关于android-studio - IntelliJ IDEA 和 Atom 编辑器中的相同键盘映射,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32119000/

相关文章:

java - android-无法获取 fragment 中编辑文本的值

android - 如何在 Studio 项目中禁用 Jacoco 测试覆盖率

android - 无法获取 org.gradle.api.Project 类型的根项目 'android' 的未知属性 'android'

java - IntelliJ 无法识别 Lombok @Builder

javascript - Intellij - 用于 html、js

android - 更新 Android Studio 4.1.2 到 2020.3.1 失败

intellij-idea - IntelliJ IDEA中的Xtend无法在src-gen中生成文件

session - 从 IntelliJ IDE 本地运行时防止 Tomcat 序列化 session

javascript - 特殊单例模式的 JSDoc

node.js - 创建 Node js Express 应用程序项目时出现错误