cmd-D to divide to shell, cmd-E for Emacs.