13 Gedit Plugins to Make It a More Useful Text Editor [Linux]

Few days back we looked at how to customize Nautilus to get most out of the context menus and write custom menu entries as per your requirement. Today let’s pay some attention to the good old text editor – Gedit. Gedit is the default text editor for most of the Linux distributions using Gnome as the desktop environment. As it turns out and as we shall see shortly Gedit supports plugins and there are some very useful plugins for Gedit.

How to install additional Gedit plugins

While Gedit ships with a set of default plugins, you can surely add as many as you like. To install a plugin for Gedit, you must first download it to a local folder and then extract the contents to ‘~/.gnome2/gedit/plugins/’ directory. Also look for a package named “gedit-plugins” in your distribution’s package manager, this package contains some additional plugins for gedit. Once you have installed the plugin you want, you need to enable it via Edit>Preferences and then the Plugins Tab.

prefrencesgedit   13 Gedit Plugins to Make It a More Useful Text Editor [Linux]

And finally here is a list of the top plugins you should definitely check out if you do a lot of text editing:

Align

Lets you arrange blocks of text into columns easily and quickly. Just select the text to be arranged, go to Edit > Align, specify the column separator and presto you have instant columns. No more pressing tabs and arranging text manually!

alignwindow   13 Gedit Plugins to Make It a More Useful Text Editor [Linux]

align1   13 Gedit Plugins to Make It a More Useful Text Editor [Linux]

align2   13 Gedit Plugins to Make It a More Useful Text Editor [Linux]

Auto tab

Autotab detects the indent/space settings in a file and adjusts tabbing accordingly on the fly. Very useful if you have to edit code written by others using different editors.

Browser Preview

Allows you to preview the webpage code you are editing in gedit in different browsers like Firefox, opera, IE, konqueror etc. A dream come true for any web developer.

File Browser (included in default install)

filebrowser   13 Gedit Plugins to Make It a More Useful Text Editor [Linux]

Lets you browse through directories and files in the side pane. Choose the file you want to edit, double click and away she opens in a new tab.

Character Map (included in gedit-plugins)

charactermap   13 Gedit Plugins to Make It a More Useful Text Editor [Linux]

So you want to type in a different language? Keyboard problems? or do you wonder from where does µtorrent gets its µ? Look no further than the character map plugin. Enable it and you will be able to view the character map in the side pane. Just click on the character you want to insert and it gets inserted in the file.

Class Browser

classbrowser   13 Gedit Plugins to Make It a More Useful Text Editor [Linux]

As the name suggests, this plugin provides you a class browser for browsing source files. You can get an overview of various identifiers used in the code in the gedit side pane once you enable this plugin.

Document Words Completion

This plugin brings Auto Complete to gedit. While you are typing, this plugin will attempt to complete the current word, based on the words that have appeared previously in the current document. You can configure it to AutoComplete or offer suggestions when you hit Ctrl+Enter

External Tools (included in gedit-plugins)

externaltools   13 Gedit Plugins to Make It a More Useful Text Editor [Linux]

External tools plugin allows you to add custom entries to the tools menu. The entries can run external commands on the current file. A totally indispensable tool considering what all can be achieved with text files and the Linux command line. Highly recommended if you do any kind of repetitive work on text files.

Sort and Spell Check (included in default install)

What good is a text editor without the ability to check your spellings? Yet most text editors lack this functionality.Enable the Spell plugin to add Spell Check functionality to gedit. The Sort plugin on the other hand allows you to sort elected text. You needn’t use sort/sed/awk to sort the file for you. It can be done right from within gedit

LaTeX Plugin

The LaTeX plugin helps you to write and compile LaTeX code. With features like LaTeX code completion, coupled with the power of other plugins, gedit with LaTeX plugin can greatly simplify your work. The LaTeX plugin can be used for BibTeX bibliographies as well.

Session Saver (included in gedit-plugins)

Session saver allows you to save you current workspace within gedit as it is, so that when you restore a session at a later time you can start right where you left your work.

Snippets (included in default install)

snippets   13 Gedit Plugins to Make It a More Useful Text Editor [Linux]

Snippets plugin allows you to insert frequently typed phrases and text by using hotkeys or a shortcode. You can configure your own snippets so that if you type something like MUO it automatically gets substituted with MakeUseOf.com. Snippets is one of my personal favorites and can save you a lot of typing.

Tabs Extend

Adds Firefox like useful features to gedit tabs, including the ability to undo a closed tab, close all other tabs, close all tabs and close tabs to the left of the current tab. Very useful if you are working with a lot of files simultaneously

More?

If you are a programmer who uses text editor every now and then to edit some code, gedit has some awesome plugins to make your work easier. The color picker (gedit-plugins) lets you visually choose a color and insert its hex value into your code,code comment lets you comment/uncomment selected text with a single command, there are plugins to tidy up your HTML, indent code, match braces and then there is the python console and many many more. If you use gedit for general purposes you can explore bookmarks, splitview and directly mail the text file from within gedit with plugins. All these and many more are mentioned on Gnome Live. Some of the links are broken and some plugins don’t work as expected so you might be in for some hit and trial.

What really prompted me to write this article was that many people don’t realise that a program such as gedit (viewed as a simple text editor) can support so many additional functionality via plugins. A reason could be that people hardly care about setting preferences for text editors and the plugins option is buried deep inside preferences. I am curious to know how many of our readers knew about gedit plugins? The geeks would have known for sure, so we can expect some plugin suggestions in the comments too. Which ones are your favorites?

The comments were closed because the article is more than 180 days old.

If you have any questions related to what's mentioned in the article or need help with any computer issue, ask it on MakeUseOf Answers—We and our community will be more than happy to help.

21 Comments -

0 votes

Dave

Gedit is one of my favorite tools in Linux and somehow you just made it better. I’m definitely going to have to try some of those, especially the laTex and class browser plugins.

0 votes

alfred westerveld

keep those linux posts coming :P great stuff. Thank you

0 votes

Some Developer

gedit is certainly *the* editor I used on my Fedora. However, I am also hoping that its great team intends on making it as feature rich as Notepad++, a Windows-only product.

0 votes

Vadim P.

I personally like Geany, but do use gedit occasionally (because of it’s good integration with gvfs and program ‘smartness’).

0 votes

dai

This was one of the great posts on Ubunutu?linux line.

Enjoyed it, specially since I was being tortured by JEdit for the shake of line numbers.(ha ha ha!)

0 votes

Jackie

Gedit rocks, thank for the great tip. I didn’t even know Gedit used plugins

0 votes

Jerry P

I do love gedit. I do however use Scite, the program that Notepad++ is built off of

0 votes

shawn

If you’re trying to squeeze every last bit of power out of Gedit why not just use GVim or Emacs GUI which have much larger followings (but it’s pretty much either or if you go with one [No flip-floppers allowed!])

0 votes

Varun Kashyap

Oh, now I remember what I forgot to mention. I wanted to tease the Vim and Emacs fan in the article. No offense though, I am myself heavily into Vim and absolutely love it.
That said, both Vim and Emacs require great deal of learning and getting used to. A lot of people don’t want to get into learning something as simple as text editor so they give it up midway. The next best thing? Gedit with plugins!

0 votes

erik

I use vim pretty heavily for editing code but I find it less useful for writing long paragraphs (like for LaTeX or raw HTML) because moving up or down with ‘k’ and ‘j’ become less intuitive with text wrapping. For those specific situations, I have found gedit to be a lifesaver.

I absolutely love the LaTeX plugin for gedit, btw.

0 votes

Steve

One of my favorite plugins other than the built in plugin to indent/unindent multiple lines is the Regex Search & Replace plugin found on this page:

http://live.gnome.org/Gedit/Plugins

Also the Web browser is a cool idea, although I don’t use it much.

0 votes

trent

I really wish there was a good plugin for code completion. Document word completion only goes so far..

0 votes

Steve

Oh, I forgot, check out the Split View plugin too! I guess it is mentioned above, but only mentioned, so I give it my praise here.

0 votes

serbianlad

Lately I’ve been looking at some vi(m) tutorials, and it looks like too much work tbh. Yes I know that all self-respecting Linux users just have to learn to use it, and eventually I will, but in the meantime, is there an console only editor that works like “normal” editors, such is Gedit?

PS. Great site, keep it up :)

0 votes

Steve

Try “nano” That’s my favorite simple console text editor because it is very staight forward.

0 votes

Ben

Just try ‘vimtutor’. (It’s a command, enter it in a terminal.) It’s a text document with instructions on how to use vim, opened in vim. It shouldn’t take you much longer than around half an hour, and it’s a great way to get to know at least the basics.

0 votes

raz

is there an console only editor that works like “normal” editors, such is Gedit?

Did you try pico editor?

0 votes

Baking Chef

i really just wish i knew more about using vim. i rarely use a gui editor in linux

0 votes

recession

gedit pluins are pretty amazing, i showed them to my sister last week and she hasnt gotten off the computer since!

0 votes

outlander

I showed gedit plugins to my cat the other day and since then, I keep finding paw marks on my keyboard.

0 votes

Could you pliz update

Seems the method for installing is outdated. Create article though.