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://www.icecrew.nl/files/gedit/multiedit.ogv

gitg 0.0.4

I thought it might be a good time to blog about gitg a little. Basicly, gitg is a clone of GitX (a git gui client for OS X written by Pieter de Pie) for GNOME. I initially started to develop it just because it was fun and I needed to learn about git (and writing a gui application for it seemed like a good way to learn it). After having finished the basics like loading and displaying the history, I lost interest a bit. But, with the migration of GNOME from svn to git, I picked it up again and I think by now it has become a really useful application (I use it daily).

gitg was always meant to be fast, and I think it’s pretty decent in loading the history and calculating all the tracks, and it’s pretty too :) . It features two distinct areas, the first being the history view where you browse the history, look at the diff of a specific commit, etc.

gitg history showing git history

gitg history showing git history

The other view is the commit view where you can easily stage changes in files, or hunks by simply clicking in the diff view.

gitg commit view

gitg commit view

So, just released 0.0.4, which includes really cool stuff that enables you to merge, rebase, apply items from the stash by drag and drop, or by context menu. You can manage your remotes, fecth the latest objects. Create a new local branch from a remote branch, or push a local branch to a remote branch. You can now also create and remove tags. gitg is maintained on git.gnome.org and GNOME bugzilla. So please give it a try and let me know what you think :)

For some more screenshots: http://www.icecrew.nl/files/gitg/
Git: http://git.gnome.org/cgit/gitg
Downloads: ftp://ftp.gnome.org/pub/gnome/sources/gitg/0.0/

Posted in Uncategorized. Comments Off