I would like to ask if there is any features that will automatically copy the previous paragraph level.
Work something like emacs alt + enter.
So that i dont have to keep referencing what the previous paragraph level is.
I would like to ask if there is any features that will automatically copy the previous paragraph level.
Work something like emacs alt + enter.
So that i dont have to keep referencing what the previous paragraph level is.
There is no such plugin that inserts the previous heading level automatically. However you can use various plugins to display the previous heading or to navigate to it.
Plugin: Go to Heading https://github.com/oin/obsidian-gotoheading
You can set ⌥← and ⌥→ for prev/next heading. Go to prev heading ⌥← and then press ⌘C. Navigate back to using ⌘↓ and press ⌘V. There are plugins to navigate to previous cursor location too.
Plugin: Quiet Outline https://github.com/guopenghui/obsidian-quiet-outline
Go to plugins settings and turn on “Locate By Cursor”. When editing your current heading is highlighted in the sidebar display. Using this method will show the parent header level by different colors. To copy the previous header level H, you need to first determine the parent level P based on the color and then add 1 i.e. H = P + 1.
Plugin: Go to Heading https://github.com/oin/obsidian-gotoheading
Go to plugin settings and toggle on “Highlight current heading”. Run command Go To Heading: Open switcher
. You can bind ⌘H for the command.
Plugin: Sticky Headings https://github.com/imshenshen/obsidian-sticky-heading
This plugin will display the previous header that was visible. Cursor position doesn’t affect this unless the scrolling position is changed.
I think option 1 is the most elegant solution since you want to navigate between headings anyway, it is useful thing to have. If you are creating new headings in the middle of your document then go to next heading, otherwise ⌘↓.
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.