document-outline
document-outline copied to clipboard
Hotkeys for unfocus or toggle-focus
Consider that the outline is placed in the left pane along with the tree-view panel. In this setup, there is no smooth way of transitioning the focus from editor to document-outline to treeview and back to the editor using just keyboard.
If the document-outline is not kept in the left panel, and only the tree-view is present, then using ctrl+shift+\
I can shift from the editor to the tree-view panel and from there I can just hit escape
to come back to the editor.
But when I have the document-outline panel along with tree view, doing the above hotkey transitions hides the document outline and I have to use the mouse again to bring the document outline to focus.
So, thought it will be neat if there is a way of implementing hot key transitions to traverse through these three focuses - editor, tree-view and document-outline.
Forgot to mention, I even tried adding hotkeys in keymap.cson
, but it didnt work. For example, I tried the following
".platform-linux":
"ctrl-shift-]": "document-outline:unfocus"
"ctrl-shift-[": "document-outline:focus"