-
Archives
- July 2015
- September 2014
- June 2014
- April 2014
- January 2014
- August 2013
- February 2013
- November 2012
- September 2012
- August 2012
- July 2012
- February 2012
- January 2012
- November 2011
- September 2011
- August 2011
- December 2010
- July 2010
- February 2010
- December 2009
- November 2009
- September 2009
- July 2009
- June 2009
-
Meta
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:
4 Responses to New gedit plugin: multi edit
Pingback: Nacho’s Blog » Blog Archive » News on gedit/gtksourceview
That’s *nice*.
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!
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!)