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

[Enhancement] Keyboard Shortcut to promote current node to sibling of parent #25

Open
edwinclement08 opened this issue May 7, 2023 · 3 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@edwinclement08
Copy link

I often end up creating a child node that, in turn, ends up with quite a few of its own children. In this case, most of the tab titles are truncated due to multiple levels of indentation.

I typically solve this by moving the current tab to the root level via the mouse. This is distracting in a laptop environment without a mouse as my trackpad is a bit subpar.

I am suggesting a couple of keyboard shortcuts to alleviate this issue. If there is an existing way to do this, please do suggest.

Possible actions:

  • Promote to parent's Sibling
  • Promote to root Level
  • Promote to root Level and minimize the previous tree
@edwinclement08 edwinclement08 added the enhancement New feature or request label May 7, 2023
@piroor piroor transferred this issue from piroor/treestyletab May 8, 2023
@piroor piroor added the good first issue Good for newcomers label May 8, 2023
@piroor
Copy link
Owner

piroor commented May 8, 2023

TST More Tree Commands have shortcut slots for commands to manipulate tree structure. "Promote to parent's Sibling" is already there and others need to be added. Pull requests to do that is welcome.

@I60R
Copy link

I60R commented May 10, 2023

I also suggest you to use "flatten tree" feature

@piroor
Copy link
Owner

piroor commented Dec 13, 2023

Note: I have less motivation to implement new features by my hand, and pull requests to implement "good first issue" labeled features like this are always welcome. I hope these issues get people involved to join opensource development.

A new keyboard shortcut will be added here:


Codes for a new menu command will be added here:



Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants