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

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.


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.