TextMate for linux
Monday, December 1, 2008
Of course TextMate is the best text-editor ever. It has a lot of eseful features and nice syntax highlighting stuff and code autocompetition features.
Windows has an official TextMate clone — E-texteditor. But *nix and linux don’t.
I have read tens of useless articles how to set up gedit as the web IDE and no one was very useful. Moreover almost in every article’s comments some *nix nerds advise to use Vim or Emacs. These editors are so confusion for beginner and you need to spend days to learn how they works. So I explain how to setup gedit to behave like TextMate in 2 minutes.
Lets go!
If you don’t have already installed gedit (in GNOME it’s default text editor), so type in terminal:
sudo apt-get install gedit
Next step is install gedit-plugins:
sudo apt-get install gedit-plugins
That’s all what you need to install.
Open gedit and go to Edit > Preferences and choose “plugins” tab. You will see that plugins’ choice is much larger than standard, it’s good idea to check next plugins:
- Bracket completion
- Change case
- Code comment
- Color picker
- Snippets
- Insert date/time
- Indent Lines
- Join/Split lines
- etc. (what you wish)
If you like dark color scheme go to “Font&Colours” tab and select “Oblivion” scheme it’s look very good. (Anyway if you’re config freak you can download a lot of other themes, just google it).
During the work you can save your most useful code with “snippets” plugin and use them again and again.
Restart gedit.
TextMate for linux is ready for you. Have a nice coding!
