Comments (7)
I'm not sure how this would work, since there's no cursor or selection to use as a starting point?
from obsidian-editor-shortcuts.
there's no cursor or selection to use as a starting point?
This indeed can be an issue. How about always make the first or last header as the staring point then?
from obsidian-editor-shortcuts.
Well, by 'starting point' I'm essentially referring to an anchor from which you would search for the next or previous heading. For example, if your cursor was on line 3, character 5 in edit mode, the command to Go to next heading
would look for the next heading after that exact position. If you don't have a corresponding anchor in preview mode and instead always assign it to search from the first or last heading, it's not ideal for navigating between headings since you'd need to step through every single one.
from obsidian-editor-shortcuts.
If your use case is simply to jump between various headings while reading, I'd suggest using the Outline plugin (you'll find it under Core plugins). That will display a list of headings in the current file which allows you to click to jump to a particular heading.
from obsidian-editor-shortcuts.
That will display a list of headings in the current file which allows you to click to jump to a particular heading.
Thanks for the suggestion. However, with the outline plugin, one needs to use it to navigate among headings by clicking them in the side pane? Is it possible to navigate among headings by using hotkeys, without needing to open the side pane?
from obsidian-editor-shortcuts.
Ah, Outline doesn't support hotkeys as far as I'm aware. I just had a quick search though and found Quick Switcher++, which can be mapped to a hotkey. See if that works for you instead.
I can experiment with your original request at some point, but it'll be a while before I have the time to do that. I've tracked it here in the meantime: https://github.com/timhor/obsidian-editor-shortcuts/projects/1#card-76194970
from obsidian-editor-shortcuts.
I just had a quick search though and found Quick Switcher++, which can be mapped to a hotkey. See if that works for you instead.
Thanks for the help!
from obsidian-editor-shortcuts.
Related Issues (20)
- Selecting to beginning of line doesn't work HOT 3
- Holding keybinding for 'Go to next/previous heading' doesn't work HOT 1
- Can't update to 1.13.1 HOT 1
- Failed to install HOT 1
- click with option HOT 1
- "Go to line number" goes to the last line if entering a number larger than the last line HOT 4
- [Feature Requests] Additional key binding suggestions HOT 5
- Select line unusual (moves cursor to end of line) HOT 5
- [FR] Delete Word Forward/Backward
- [FR] Undo and Redo HOT 3
- FR: Next/Previous Heading in Reading Mode HOT 1
- Target line for "Duplicate line" HOT 2
- [FR] Shortcut to select whole line excluding list or bullet points HOT 2
- [FR] Commands for Text selection und Text deletion
- [FR] Scroll up/down
- when i uninstall this plugin the insert new line still work. HOT 1
- Add plugin name to installation instructions in README.md (Plugin name is not mentioned in the installation instructions) HOT 1
- "Smarter Insert New Line" doesn't work anymore HOT 2
- FR: Page up / Page down
- [Feature Request] Keyboard shortcuts to navigate foldables
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from obsidian-editor-shortcuts.