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

anamaydevanamaydev977 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
  • Updates2

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
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 Switch the line numbering mode
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.1.0
Last updated
3 weeks ago
Created
5 months ago
Updates
2 releases
Downloads
977
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

Creases

Tools for effectively folding Markdown sections.

Simplified Chinese Word Splitting

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

Helix Keybindings

Use Helix key bindings when editing.

Vimrc Support

Auto-load a startup file with Vim commands.

Advanced Tables

Improved table navigation, formatting, and manipulation.

Meta Bind

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

Outliner

Work with your lists like in Workflowy or Roam Research.

LanguageTool Integration

advanced spell/grammar checks with the help of language-tool.

MetaEdit

Manage your metadata.

Quiet Outline

Make outline quiet and more powerful, including no-auto-expand, rendering heading as Markdown, and search support.