Vim editor - zsh shell ipython magic %ed cannot find editor
问题 I am trying to use the %ed magic in IPython to use vim as the editor. vim is installed ipython and ipython qtconsole both work zsh is latest as updated with my oh-my-zsh install I exported my prefernce to zsh $ echo "export EDITOR=/usr/bin/vim" >> ~/.zshrc $ echo "export VISUAL=/usr/bin/vim" >> ~/.zshrc However, when I launch IPython and then invoke the %ed magic it fails In [1]: %ed IPython will make a temporary file named: /tmp/ipython_edit_pu4Yql.py Editing.../bin/sh: 1: mvim: not found