- Duplicate Lines
- Duplicate entire lines
- 23 Installs
Readme
Duplicate Lines for Nova
This extension allows to duplicates all selected lines or, if none selected, the line of your cursor position. It keeps your selection or cursor position on the duplicated lines.
Features
- Duplicates the line, where the cursor is
- Duplicates all lines, that are part of a selection
- Works with multiple selections
- Keeps the exact selection or cursor position, but inside the copied lines
- Never duplicate text inside an existing line, but always create new lines. (especially when duplicating includes the last line of the editor, in which other duplication extensions have problems creating a new line)
How to use
By default the key command is cmd-shift-d
. You can change it by starting at the menu bar -> Nova -> Preferences -> Key bindings, search for Duplicate Lines
double click the predefined key command and press your preferred command.
Changelog
Version 1.0
- Initial release
Version 1.1
- Fixed a bug with multiple selections
- Added MIT License
- Added more detailed Readme
- Replaced the logo with a slightly cooler one
Version 1.1.1
- Changed headline in license to normal text (because otherwise it would be shown with hashtags in Nova extension browser)
- Removed debugging code, which was remaining after fixing the bug in v1.1
Version 1.2
- Fixed possible issue with duplicating the editors last line, when documents default end-of-line string is longer than one character (e. g. "\r\n")
(unfortunately Nova still shows that ugly first logo :-( maybe because of long-lasting internal caching)
License
MIT License
Copyright 2025 RedFeather
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.