add per-directory history plugin
stop using text mate for the editor