Use vi mode in zsh + adjust history settings