Duplicate Line Up/Down

pending

by ando-s

Duplicate the current line or selection upward or downward.

Updated 2mo agoMITDiscovered via Obsidian Unofficial Plugins
View on GitHub

Duplicate Line Up/Down

An Obsidian plugin that duplicates the current line or selection upward or downward, similar to the functionality in VS Code.

Features

  • Duplicate Line Down: Duplicates the current line below
  • Duplicate Line Up: Duplicates the current line above (cursor moves to the duplicated line)
  • Works with selections as well as single lines

Usage

Use the command palette (Ctrl/Cmd + P) and search for:

  • Duplicate line down
  • Duplicate line up

Or assign hotkeys in Settings > Hotkeys:

  • Recommended: Shift + Alt + Down for duplicate down
  • Recommended: Shift + Alt + Up for duplicate up

Installation

From Community Plugins

  1. Open Settings > Community plugins
  2. Disable Safe mode
  3. Click Browse and search for "Duplicate Line Up/Down"
  4. Install and enable the plugin

Manual Installation

  1. Download main.js and manifest.json from the latest release
  2. Create a folder obsidian-duplicate-line-up-down in your vault's .obsidian/plugins/ directory
  3. Copy the downloaded files into the folder
  4. Reload Obsidian and enable the plugin in Settings > Community plugins

For plugin developers

Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.