Your Mother Warned You About Using Plugins For gedit

Users of any Gnome-based distribution are probably familiar with gedit, the basic text editor with a few sweet additions, such as multiple file editing with tabs.

Even regular users of gedit may not even know that it has a plugin system, or of the availability of the gedit-plugins package which is maintained by the gedit developers.

The plugins are not included by default in most pre-packaged distributions.  It’s probably not something that most users would take advantage of.  It weighs in at a paltry 2MB, but for most Single-CD-ROM distributions, that’s the difference between fitting on a CD or moving up to a DVD.

Here’s a screenshot of the way gedit comes looking out of the box:

gedit-original.png

Here is the gedit your mother warned you about (with an appropriate metacity theme applied):

gedit-mother-warned-you-about.png

WOW!  Talk about a whole new look! Is that really gedit?

I’m amazed that this kind of functionality existed in “plain old gedit!” Some of these features I discuss below are simply turned off by default, others are enabled by installing gedit-plugins

Let’s focus on the important changes I’ve made that you can see right off the bat:

  1. Sidebar File List
    Once we have more than about 8 files open at a time, using the tabbed system becomes really clunky. This solves that problem
  2. Terminal emulator at bottom
    Whoa.  This alone is going to save so much time! In the past month alone I’ve installed a dozen or so programs from source – this is going to make it stupid easy to follow along in a README file while typing in commands to install a program.
  3. Syntax Highlighting
    I often code my own HTML when writing a new post instead of using a WYSIWYG editor – there is syntax highlighting for damn near every language I can think of off the top of my head – from Ada to XML – it’s probably there.
  4. Highlight Current Line, Line Numbers and Bracket Highlighting
    See in the picture, the cursor is at the end of the line 109. Notice on line 99 the open bracket for that hunk of code is highlighted?. Snazzy.
  5. External Tools – If you’re a developer, all you need is a picture to see how awesome this is.
    external-tools.png
  6. Snippets
    Depending on what language markup you are using, snippets can be used to make repetative tasks very easy to complete. I can’t tell you how many times I’ve added html code to an image tag to make it so it loads in a lightbox – I’m not going to need to do that again!
    snippets.png
  7. Color schemes. This is built into gedit by default, no plugin needed here, but changing the color scheme can help focus on whatever is being worked on at the time and increase productivity.

gedit-plugins can use your help! Stop by the #gedit IRC channel on irc.gnome.org and make some suggestions.

If you found this article helpful, feel free to speak up and leave a comment.  Remember, always wear protection.

  • http://lokilistens.wordpress.com Jack

    Wow, thanks for this one. gedit has more function and a little eye candy now. I;ve been using nothing but Ubuntu for about 9 months now, and it always amazes me how much can be customized.

  • lhr

    I don’t know about you, but I’ve always found the text editors integrated into KDE (GNOME for you) lacking. You should check out vi, it has a completely different editing paradigm that lets you be much more productive. There’s even a graphical version, GVim.

  • http://blog.tophatstuff.co.uk/ HoboBen

    Aye, I love gedit. I found it better than an IDE for most things. I used to have every single plugin enabled, but now I’ve refined and cut it down to terminal, line-numbers and the odd one or two others.

  • bajagafaga

    And what is the metacity theme? ;-)

  • Pingback: Linux Code and More » Blog Archive » Your Mother Warned You About Using Plugins For gedit » fsckin w/…

  • http://www.fsckin.com/ Wayne

    baja: its one of the most downloaded on gnome look, not sure of the name offhand.

  • http://www.hackosis.com Shane

    Awesome find Wayne. I didn’t know this was possible..I especially enjoy the terminal emulator.

  • http://mckooiker.byethost5.com/blog/ Maarten Kooiker

    For now I prefer Bluefish and Quanta as webeditors, but combining the editor and the terminal in one program certainly sounds cool and worth giving it a try!
    Cheers,
    Maarten

  • Mark

    Gedit is a very cool text-editor, it just needs more marketing
    http://grigio.org/textmate_gedit_few_steps

  • Pingback: links for 2007-11-10 | Crooked Press

  • http://www.pelikoira.net k00pa

    Will it be just easier to use kate?

  • Keymoubteptimbup

    air fare air fare deals air fares
    airfare sale airfare
    companies airline discount
    bargain airfare best airfares
    airfare business class airfares
    com cheap airfare tickets
    airline tickets cheap airlines
    to cheap international airfare
    cheep flights compare
    discount air fares discount
    air fare discounted airfare
    to argentina flights
    flights to orlando flights to
    airfare italy flights jamaica
    minute flights london flight low air fare
    lowest airfare lowest airfares
    reduced airfare search
    airfares travel flights us
    to london compare flights cheep
    flight booking air
    flights best flights
    cheap flights from
    airports fly cheap cheap air ticket
    cheap air tickets discount

  • http://www.twine.com/user/ronnie6177 assumable home loans in

    home assumable in loans home loans in assumable

  • http://tour-vacation.com Guatemala

    I really appreciate the fact that you’ve set up your own blog and have actually gived to the world your thoughts. I admire your work and feel I can concern to what you’ve done. Many folks can’t even imagine having such talent. I hope that you know how lucky you are. :) Good luck to you in all your objectives. :)

  • Pingback: #3 Choose Your Weapon | Obliviously

  • Elegegnasuall

    Not quite every legacy and new-look IT vendor has its own take on making the unrestricted details center more programmable via software and less dependent on specialized, proprietary and over the odds hardware.