Saturday, February 11, 2012

Making Gedit look like Textmate for Ubuntu

Textmate is the most popular editor tool available exclusively only for Mac OS. Developers love it due to its simplicity, lightweightness and excellent feature set availability. While working on Ubuntu (11.10 64-bit), we have the default gedit editor available which is also very good. However, if we want to have some Textmate like features with gedit, we can follow these simple steps to make gedit look like Textmate:-

(1) Installing extra gedit plugins :-

$ sudo apt-get install gedit-plugins

(2) Installing Textmate 'Monaco' font

Download from http://www.gringod.com/wp-upload/software/Fonts/Monaco_Linux.ttf and execute below commands:



(3) Installing syntax color scheme darkmate.xml

Download the darkmate.xml file from http://grigio.org/files/darkmate.xml

From gedit, go to Edit -> Preferences -> Font & Colors. Then click Add button and locate the download file(darkmate.xml). Also select the Monaco font.



(4) Activating installed plugins from gedit -> Edit -> Preferences -> Plugins



From this pane,we can enable following plugins as per our requirements :-
-Bracket Completion
-Code Comment
-File Browser Panel
-Snippets
-Word Completion, etc.

With these settings, your gedit now looks like Textmate :-




If you want to avoid the above steps, then we have also another option called Gmate. GMate is a collection of plugins, themes/styles and other improvements to get TextMate-like features in Gedit. The package will add some themes and plugins you can enable/disable from the Gedit preferences. To install GMate in Ubuntu, use the following commands:



In the upcoming posts, we will also try some other text editors available for Linux Ubuntu.

1 comment:

  1. The embedded terminal text-colour is set to White. How can I change it to Black?

    ReplyDelete