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

[Feature Request] Keyboard shortcuts to navigate foldables #77

Open
webmasterraj opened this issue Feb 7, 2024 · 0 comments
Open

[Feature Request] Keyboard shortcuts to navigate foldables #77

webmasterraj opened this issue Feb 7, 2024 · 0 comments

Comments

@webmasterraj
Copy link

I would like to share this feature request to add keyboard shortcuts that make it easier to navigate between foldables. Currently this is a pain, because the Obsdian editor by default does not properly handle folded content when using standard keyboard navigation.

I would like commands and hotkeys to quickly navigate between the different “foldable structures” in a file. When I say foldable structures, I really mean headers and lists (unsure if any other structures can be folded), with the down arrow, where clicking the down arrow results in the content being folded.

I propose that the following 3 VSCode commands to be implement in Obsidian:

  • “command”: “editor.gotoNextFold” – navigates the cursor to the next foldable structure in the current hierarchy
  • “command”: “editor.gotoPreviousFold” – navigates the cursor to the previous foldable structure in the current hierarchy
  • “command”: “editor.gotoParentFold” – navigates the cursor to the parent foldable from where the cursor is at

I would be happy to help with this implementation (I've helped with other plugins in the past). But I'm not too familiar with how this plugin works or how Obsidian manages the content tree and keyboard shortcuts, but maybe if someone provides guidance on how to do it, I can take a shot.

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