当焦点在树视图上时,回到 Atom 编辑器的快捷方式是什么?而相反的呢?

What is the shortcut to focus back on the Atom editor when focus is on the tree-view? And the opposite?

当树获得焦点时,atom.io 中是否有一个快捷方式可以让焦点重新回到编辑器上(甚至可能在特定窗格上)?

我查看了文档,但找不到任何内容。

直接点击逃生。这适用于 Mac OS.

我更喜欢使用 Ctrl+[数字] 组合在面板、树视图和编辑器之间切换。

您可以将以下行添加到您的 keymap.cson 文件 [1] 以更改默认的 Atom 键绑定。

'.tree-view':
  'ctrl-1': 'tree-view:unfocus'

'.platform-win32':
  'ctrl-3': 'tree-view:toggle-focus'

这将导致:

Ctrl + 3 聚焦树视图 Ctrl + 1 返回编辑器

[1]:要访问键盘映射文件,请键入 ctrl + , 以访问 Atom 设置并转到键绑定 >> "Your keymap file" Ps。记得保持缩进

在 fedora 29 Workstation(Gnome 桌面)上,Linux。
使用键绑定(键盘快捷键)ALT+\ 在 "Tree View" 和编辑器区域之间切换。