Gedit (GNOME text editor)

# Gnome gedit2 add regex replace support
wget http://vaem.googlecode.com/files/gedit2_regex_replace_plugin.tar.gz -P /tmp
tar -xzf /tmp/gedit2_regex_replace_plugin.tar.gz -C /home/$USER/.gnome2/gedit/plugins/

# add YAML syntax support
wget -q http://dl.panticz.de/pluma/yaml.lang -O /tmp/yaml.lang
sudo cp /tmp/yaml.lang /usr/share/gtksourceview-2.0/language-specs/yaml.lang
sudo cp /tmp/yaml.lang /usr/share/gtksourceview-3.0/language-specs/yaml.lang

# Configure pluma
gsettings set org.mate.pluma editor-font "Ubuntu Mono 13"
gsettings set org.mate.pluma display-line-numbers true
gsettings set org.mate.pluma bracket-matching true
gsettings set org.mate.pluma insert-spaces true
gsettings set org.mate.pluma active-plugins "['docinfo', 'snippets', 'sort', 'filebrowser', 'changecase', 'quickopen', 'spell', 'time', 'modelines']"