http://www.web2linux.com/06/make-gedit-more-like-textmate/
wget http://web2linux.com/wp-content/uploads/rails_syntax.tar.gz
rhtml.lang ruby_on_rails.lang yaml.lang
sudo cp rails.xml /usr/share/mime/packages
sudo cp ruby_on_rails.lang yaml.lang rhtml.lang
/usr/share/gtksourceview-1.0/language-specs/
edit your /etc/mime.types file and add those “text/x-???” entries:
text/x-ruby-source rhtml html.erb erb
text/x-eruby rjs
text/x-yaml yml yaml
rails.xml:
text/rhtml
application/x-ruby
text/x-yaml
sed '/ruby/p' -n mime.types
sudo su --
echo 'text/x-ruby-source' >> mime.types
echo 'text/x-eruby' >> mime.types
echo 'text/x-yaml' >> mime.types
echo 'text/rhtml' >> mime.types
user wide:
/home/simon/.gnome2/gedit
http://live.gnome.org/Gedit/Plugins
Copy files to .local/share/gedit/plugins/ or /usr/lib/gedit/plugins/, if you want a system wide install.
sudo apt-get install gedit-plugins(comment and color)