Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Advanced Line Numbers

anamaydevanamaydev2k downloads

Show absolute, relative, and hybrid line numbers in markdown files, with cursor position (line and column) in the status bar.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates4

An Obsidian plugin that enhances the editor with customizable line numbers and active line highlighting.

Features

Line Number Modes

  • Absolute - Standard line numbers (1, 2, 3...)
  • Relative - Shows distance from current line (useful for vim-style navigation)
  • Hybrid - Combines both: absolute number on current line, relative on others

Active Line Highlighting

  • Highlight the active line in the editor
  • Highlight the active line in the gutter
  • Highlight the active line number with a distinct color
  • Can be toggled off entirely if your theme provides its own active line highlight

Status Bar

  • Displays cursor's position (Ln X, Col Y)

Screenshots

Line Number Modes

Hybrid Hybrid Mode Relative Relative Mode Absolute Absolute Mode

Cursor's Position In Status Bar

Cursor's Position

Installation

From Community Plugins

  1. Open Settings → Community Plugins
  2. Search for "Advanced Line Numbers"
  3. Click Install, then Enable

Manual Installation

  1. Download main.js, styles.css, and manifest.json from the latest release
  2. Create folder: VaultFolder/.obsidian/plugins/advanced-line-numbers/
  3. Copy the downloaded files into the folder
  4. Reload Obsidian and enable the plugin in Settings → Community Plugins

Settings

Setting Description
Line Number Mode Choose between Absolute, Relative, or Hybrid
Canvas Line Number Mode Same as notes (default) or Off for canvas text cards
Show cursor position in status bar Toggle the Ln X, Col Y status bar item on and off
Highlight active line Toggle the editor and gutter active line highlight on and off

Commands

All settings can also be toggled via the command palette:

Command Description
Set line numbering: absolute / relative / hybrid / off Switch the line numbering mode
Set canvas line numbering: same / off Show the notes mode in canvas cards, or hide it
Enable / Disable cursor position Show or hide the cursor position in the status bar
Enable / Disable active line highlight Show or hide the editor and gutter active line highlight

Development

# Install dependencies
npm install

# Build for development (watch mode)
npm run dev

# Build for production
npm run build

# Lint code
npm run lint

Support

  • Report a bug
  • Request a feature

License

MIT

HealthExcellent
ReviewSatisfactory
About
Add customizable line numbers to the editor with Absolute, Relative, or Hybrid modes for vim-style navigation. Highlight the active line, gutter, or line number and display cursor position (Ln X, Col Y) in the status bar.
EditingStatus barVim
Details
Current version
1.3.0
Last updated
3 weeks ago
Created
8 months ago
Updates
4 releases
Downloads
2k
Compatible with
Obsidian 0.15.0+
Platforms
Desktop only
License
MIT
Report bugRequest featureReport plugin
Author
anamaydevanamaydev
github.com/anamaydev
GitHubanamaydev
  1. Community
  2. Plugins
  3. Editing
  4. Advanced Line Numbers

Related plugins

Simplified Chinese Word Splitting

Adds Simplified Chinese word splitting support for the editor and Vim mode.

Creases

Tools for effectively folding Markdown sections.

Helix Keybindings

Use Helix key bindings when editing.

Vim Motions

Full Neovim experience inside Obsidian with Lua scripting, Flash/EasyMotion jumps, Telescope-style picker, Oil explorer, snippets, surround, animated cursor, undo tree, and Markdown text objects.

Vimrc Support

Auto-load a startup file with Vim commands.

LanguageTool Integration

Advanced grammar and spell checking, powered by LanguageTool.

Text Format

Format selected text upper/lower/capitalize.

Meta Bind

Make your notes interactive with inline input fields, metadata displays, and buttons.

Thino

Quickly capture memos and display them in the sidebar with a heatmap. (Closed source)

Advanced Tables

Improved table navigation, formatting, and manipulation.