This is an issue with lots of related questions but none seems to work out for me. I need to use IPython in a similar way as I use M-xshell
, but of course with python-related completion. The solution by abo-abo in this previous question How to open IPython interpreter in emacs? does the trick. However, it has the secondary effect of disabling keybindings when I am in the IPython buffer (i.e. I cannot, for example, change buffers with C-xo). Is there any easy way of solving this?
Code from previous answer:
(defun ipython ()
(interactive)
(term "/usr/bin/ipython"))