TextMate for linux

Monday, December 1, 2008

Filed under: Linux, web-development — Tags: , , — Dmitri @ 21:19

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!

GNOME vs KDE — for me this war is over.

Friday, October 31, 2008

Filed under: Linux — Tags: — Dmitri @ 10:38

About half year have passed since I installed Linux. My first desktop environment was GNOME, but I tried KDE too. GNOME has a less options, that was very cheerful for me and all was fine and I, as web-developer, was happy.

But!

One of my work’s needs is quick open/create/delete/copy/move files over remote FTP/SCP/SSH servers. I haven’t found any software (at least correctly working) for GNOME to complete this task, but in KDE I found that Krusader and Kate are OK. Some people will argue against: “You can install KDE apps on the GNOME as well!”
Yes, that’s true, but these software needs to be configured over “infinite” text files and settings to teach GNOME environment to understand fish:// and sftp:// protocols.

I don’t want to spend days on the configuration. I want to install and start to work.

So, my choice is KDE.

If you know some software which is working like WinSCP. You are welcome! Drop me a line.

Do not offer!

  • WinSCP with Wine.
  • Nautilus is sucks, very slow process and working incorrectly sometimes.
  • gFTP, I really don’t know what this software is used for.
  • FileZilla, Gnome-commander, muCommander, Kasablanca…

They are all sucks for my needs.

© 2008 Dmitri Smirnov