New gedit plugin: multi edit

We recently landed a new gedit plugin in the gedit-plugins module named ‘multi-edit’. This plugin allows you to create multiple edit points in the document by which you can simultaneously edit your document at multiple places. I myself found the plugin very helpful in many, otherwise tedious, editing tasks. Although the plugin was written from scratch, credits should go to Jon Walsh who wrote a similar plugin and on which the ideas for this plugin were based.

The new plugin introduces a new ‘mode’ in which you can do multi editing. You enter this mode by Ctrl+Shift+C, and once enabled you can start inserting edit points manually by pressing Ctrl+E at any point in the document. Additionally, you can use Ctrl+Home and Ctrl+End to respectively insert edit points at the beginning or end of the line automatically (it will also skip to the previous/next line so you can quickly insert edit points at the beginning or end of some lines). When you start typing the inserts/deletes will be replicated in all the edit points. You can then press Escape to remove the additional edit points, and press Escape again to finally quit multi edit mode.

In addition to inserting multi edit points, it also features column editing when you are in multi edit mode. This means you can select a part of the text, and press Enter to make the selection into a column selection. When you then start editing, it will edit the whole column (just as if you would have inserted multiple edit points manually and removed the text in the column).

You can watch a short (somewhat lame :)) movie showing this new plugin:

http://people.gnome.org/~jessevdk/multiedit.ogv

This entry was posted in gedit. Bookmark the permalink.

4 Responses to New gedit plugin: multi edit

  1. Pingback: Nacho’s Blog » Blog Archive » News on gedit/gtksourceview

  2. sil says:

    That’s *nice*.

  3. pvanhoof says:

    YES! Awesome. I’ve been using Scite just because of its capability to do vertical selects. And now you guys build this column-editing stuff. Really great!

  4. Paul says:

    Very awesome work – Thankyou for doing this, it looks great and could help shift me away from ViM which makes teaching my students easier (they hate ViM bindings!)

Leave a Reply

Your email address will not be published. Required fields are marked *