Skip to content
Gedit plugin to duplicate lines
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
README.md
duplicateline.plugin
duplicateline.py

README.md

Duplicate Lines plugin for gedit

This plugin for the gedit text editor allows to duplicate lines, just like in Geany, where you can press CTRL+d to duplicate either the current line or the current selection. It is compatible with Gedit >=3.14.

Installation

Drop the files contained in this package into your ${HOME}/.local/share/gedit/plugins/ folder. If the plugins folder does not exist yet, just create it. Start gedit and open Preferences and in the Plugins section activate the Duplicate Line plugin.

How it works

The plugin adds the keyboard shortcut CTRL+SHIFT+d to gedit. When pressing this key combination the plugin will duplicate the current line. If there is a selection and the selection spans several lines, then all selected lines are duplicated. If the selection is within a single line, then the selected text will be duplicated.

You can’t perform that action at this time.