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

Drag and Drop Lines

anluhenanluhen311 downloads

Drag and drop lines, list items, headings, callouts and code blocks in the editor.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates2

Reorder your notes by dragging lines in the editor, the way you would in an outliner.

Usage

Hover the gutter to the left of a line to reveal its handle (::), then drag it up or down. A line shows where the block will land. Release the mouse to drop it, or press Esc to cancel. Dragging near the top or bottom of the editor scrolls the note.

The handle moves the whole structure that starts on that line:

Dragged line What moves
List item The item with its nested items and indented content
Heading The whole section, up to the next heading of the same or a higher level
First line of a callout The entire callout
Opening or closing fence of a code block The entire code block
Any other line Only that line

Lines that start with # inside a code block are not treated as headings. Frontmatter has no handles and can't be a drop target, so properties stay at the top of the note.

Each move is a single edit, so Ctrl/Cmd + Z undoes it.

Limitations

  • Desktop only: dragging relies on mouse events.
  • Works in Live Preview and Source mode, not in Reading view.
  • Nested callouts and plain block quotes move one line at a time.

Installation

Search for Drag and Drop Lines in Settings → Community plugins → Browse, then install and enable it.

To install manually, download main.js, manifest.json and styles.css from the latest release into <vault>/.obsidian/plugins/drag-n-drop-lines/ and enable the plugin.

Development

npm install
npm run dev    # rebuild main.js on change
npm run lint   # eslint-plugin-obsidianmd checks
npm run build  # type-check and production build

License

MIT

HealthExcellent
ReviewSatisfactory
About
Reorder lines and structural blocks by dragging their gutter handles to move list items with nested content, whole heading sections, callouts, code blocks, or single lines. Hover the left gutter to reveal handles, drag to reposition, and undo each move as a single edit; works on desktop in Live Preview and Source modes.
EditingInterface
Details
Current version
1.1.0
Last updated
3 weeks ago
Created
Last year
Updates
2 releases
Downloads
311
Compatible with
Obsidian 1.9.12+
Platforms
Desktop only
License
MIT
Report bugRequest featureReport plugin
Author
anluhenanluhen
GitHubanluhen
  1. Community
  2. Plugins
  3. Editing
  4. Drag and Drop Lines

Related plugins

Meta Bind

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

Editing Toolbar

The Editing Toolbar is modified from cMenu, which provides more powerful customization settings and has many built-in editing commands to be a MS Word-like toolbar editing experience.

Force note view mode

Force the view mode for a note by using frontmatter: YAML block with 'obsidian_ui_mode' as key.

Hover Editor

Transform the Page Preview hover popover into a fully working editor instance.

Cursor-Smith

Forge your cursor with the most advanced cursor engine there is!

Dragger

Drag and drop any block (paragraphs, headings, lists, etc.) to rearrange content like Notion.

Hider

Hide interface elements such as tooltips, status bar, titlebar, and more.

LanguageTool Integration

Advanced grammar and spell checking, powered by LanguageTool.

Text Format

Format selected text upper/lower/capitalize.

Thino

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