No description
Find a file
read with ai dffeca61a9
Update README.md
fix up botched merge
2024-12-27 05:14:11 +01:00
.editorconfig Initial code from sample plugin 2024-12-08 18:53:56 +01:00
.eslintignore Initial code from sample plugin 2024-12-08 18:53:56 +01:00
.eslintrc Initial code from sample plugin 2024-12-08 18:53:56 +01:00
.gitignore Initial code from sample plugin 2024-12-08 18:53:56 +01:00
.npmrc Initial code from sample plugin 2024-12-08 18:53:56 +01:00
demo.gif add animated gif 2024-12-08 18:54:05 +01:00
esbuild.config.mjs Initial code from sample plugin 2024-12-08 18:53:56 +01:00
LICENSE license 2024-12-08 18:54:05 +01:00
main.ts remove prefixes from names 2024-12-08 19:28:51 +01:00
manifest.json bump version 2024-12-08 19:32:07 +01:00
package-lock.json header navigation plugin 2024-12-08 18:54:05 +01:00
package.json change id in package.json 2024-12-08 18:54:06 +01:00
README.md Update README.md 2024-12-27 05:14:11 +01:00
tsconfig.json Initial code from sample plugin 2024-12-08 18:53:56 +01:00
version-bump.mjs Initial code from sample plugin 2024-12-08 18:53:56 +01:00
versions.json update versions 2024-12-25 17:47:33 +01:00

Header navigation plugin

Blog post, @readwithai

This is a header navigation plugin for the markdown editor called Obsidian. This plugin lets you quickly navigate between headers and fold them. It provides a command to toggle the folding of a header.

It is a third-party plugin and has no affiliation with the Obsidian editor.

Installation

This plugin should be available as an Obsidian community plugin.

Alternatively, you can install it directly by:

  1. Cloning the git repository into .obsidian/plugins in your vault
  2. Running npm install, npm run dev in the repository
  3. Reloading obsidian
  4. Enabling the plugin in the community plugins tab of settings.

Usage

Press Ctrl-p to open the command palette and search for "header nagivation". You will then have a list of command that this plugin provides.

I would suggest binding these commands to hotkeys. You might find a plugin like sequence hotkeys useful: this allows you to define a "prefix" key such as Ctrl-m for motion commands so that you can then assign e.g Ctrl-m Up etc for moving around headers.

demonstraction of features

Influences and related tools

This tool is very much influenced by the functions provided by emacs org-mode.

This project uses the remark markdown parser and its source code is included (under and MIT license) within the built main.js file.

This plugin was based on the obsidian sample plugin.

Quiet outline provides a sidebar tool similar to a "code browser" that allows you to perform similar motions with a mouse, and well as reorder headings.

About me

If you like this you might like my plugin-repl for obsidian that lets you quickly script Obsidian.

I make productivity tools and AI tools related to reading and research. If that sounds interesting you can follow me on twitter or bluesky.

I write about these topics on substack.

If you find this piece of software useful. Maybe give me money (like $2 dollars?) on my kofi.