Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hotkeys for unfocus or toggle-focus #67

Open
werunom opened this issue Apr 6, 2018 · 1 comment
Open

Hotkeys for unfocus or toggle-focus #67

werunom opened this issue Apr 6, 2018 · 1 comment

Comments

@werunom
Copy link

werunom commented Apr 6, 2018

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.

@werunom
Copy link
Author

werunom commented Apr 7, 2018

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"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant