Improve Gedit with three Extra Plugins (Part One)

The first thing you should always do after installing software (apart from viewing the manpages) is to check and see if it supports plugins. If you are not a programmer or hacker it really is the easiest way to extend capabilities. The Gnome text editor supports this feature out of the box.Here's three of the best.

Gedit is a text editor. The Gedit homepage list its full feature set.. It's my editor of choice when writing articles for FSM. By default, Gedit comes with bundled plugins but you can extend them via your distro's package manager. Search forgedit-plugins, install it, open Gedit and select Edit > Preferences. Click on the Plugins tab and scroll through them, checking the ones you want.

Figure 1: Plugins galore

Embedded terminal(s)

Gedit has a built-in Python interpreted, activated from View > Bottom Panel; after installing the extra plugins tick the checkbox for Embedded terminal to enable it. Now, you also have a (resizable) Bash terminal.

Figure 2: Now you have an embedded, tabbed terminal

This is really handy if you're writing a piece about Bash scripting or Python code. You can just copy/paste content to the main text area, format and save it (and monitor downloads too, as you write).

Session Saver

If you're working on multiple articles this plugin will allow you juggle (and save) them all in one tabbed session.When enabled you'll find Save sessions in the File drop-down menu. Select Save current session and a dialogue box will pop up.

Figure 3: Name your session

Give the session a name and you're done. Now, when you open Gedit you can reload the switchable tabs from the File menu.

Figure 4: One click to rule all your tabs

You can, finally, manage your sessions from the same menu by adding more or deleting them (Manage saved sessions).

Remote files

Start Gedit from the command line in a terminal but start it with an argument. For example, try gedit http://www.freesoftwaremagazine.com and all the markup for the webpage will display inside Gedit. A useful tool to learn and analyse without the overheads of opening a browser.

Figure 5: Markup, but not in a browser

TIP. If you intend to use this feature a lot, it's a good idea to make it an alias:

alias fsm='gedit http://www.freesoftwaremagazine.com'

Make it permanent. Add it to your .bashrc file. You can create as many aliases as you like. (You can also launch two or more sites simultaneously in one alias.) Plugins, aliases and the command line. Result.

License

This work is licensed under a Creative Commons Attribution 3.0 Unported License.