GEdit multi-line edit on Ubuntu 18.04

Multi-line editing does work in gedit in Ubuntu 18.04.

This answer is based on an answer I posted earlier about column mode editing in gedit and is with Ubuntu 18.04.


  • sudo apt install gedit-plugin-multi-edit installs the necessary plugin.

  • Open gedit > Preferences > Plugins and enable Multi Edit.

  • Then, when the need arises to use Multi Edit, activate it from Tools. The mode will be reflected near the top right corner of the window.

Activate Multi Edit via Tools

  • If you use the Adwaita GTK3 theme and hover the mouse pointer over the words Multi Edit Mode, you'll get an explanatory pop-up. (I couldn't get this popup to appear with Ambiance or Radiance GTK3 themes.)

Explanatory popup

  • In the following image, I want to convert three instances of "true" to "false". I click at the end of the first instance of "true" as shown in the image and press Control+E. A brief message "Added edit point …" appears in the same row as Multi Edit Mode.

I click similarly for the other two instances of "true" pressing Control+E each time.

marking multiple edit points

  • Once I'm done, simply press Backspace to remove the last instance of "true". The other two instances will be simultaneously removed.

  • I then type "false" and it appears in all the three spots.

enter image description here

Turn off Multi Edit Mode from Tools once you're done.


In 19.04, the informative popup appears with Yaru as well. Ambiance still doesn't show it.