Duplicate Line Up/Down
pendingby ando-s
Duplicate the current line or selection upward or downward.
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 downDuplicate line up
Or assign hotkeys in Settings > Hotkeys:
- Recommended:
Shift + Alt + Downfor duplicate down - Recommended:
Shift + Alt + Upfor duplicate up
Installation
From Community Plugins
- Open Settings > Community plugins
- Disable Safe mode
- Click Browse and search for "Duplicate Line Up/Down"
- Install and enable the plugin
Manual Installation
- Download
main.jsandmanifest.jsonfrom the latest release - Create a folder
obsidian-duplicate-line-up-downin your vault's.obsidian/plugins/directory - Copy the downloaded files into the folder
- 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.