I've added these keybinding configuration in my Spacemacs dot file, so that I can toggle the terminal by press the \ key.
;; Keybindings
(define-key evil-normal-state-map (kbd "\\") 'spacemacs/default-pop-shell)
(define-key evil-motion-state-map (kbd "\\") 'spacemacs/default-pop-shell)
By default, the terminal starts in evil-insert-state. However, I have to go to evil-normal-state to close the terminal window with \, which means, when I open the terminal again, it would be in evil-normal-state.
This inconsistence makes me feel bad. How can I make the popup terminal start in evil-normal-state?