README file from
GithubDuplicate 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