Set undo directory for vim
Enable mq and rebase extensions in mercurial.