Add history plugin and set vim as $EDITOR var