make gedit more like textmate

http://www.web2linux.com/06/make-gedit-more-like-textmate/

wgethttp://web2linux.com/wp-content/uploads/rails_syntax.tar.gz

rhtml.langruby_on_rails.langyaml.lang

sudocprails.xml/usr/share/mime/packages

sudocpruby_on_rails.langyaml.langrhtml.lang

/usr/share/gtksourceview-1.0/language-specs/

edityour/etc/mime.typesfileandaddthose“text/x-???”entries:

text/x-ruby-sourcerhtmlhtml.erberb

text/x-erubyrjs

text/x-yamlymlyaml

rails.xml:

text/rhtml

application/x-ruby

text/x-yaml

sed'/ruby/p'-nmime.types

sudosu--

echo'text/x-ruby-source'>>mime.types

echo'text/x-eruby'>>mime.types

echo'text/x-yaml'>>mime.types

echo'text/rhtml'>>mime.types

userwide:

/home/simon/.gnome2/gedit

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

Copyfilesto.local/share/gedit/plugins/or/usr/lib/gedit/plugins/,ifyouwantasystemwideinstall.

sudo apt-get install gedit-plugins(comment and color)

相关推荐