make gedit like textmate