diff options
| -rw-r--r-- | ravi-init-python.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ravi-init-python.el b/ravi-init-python.el index e9d125c..2077266 100644 --- a/ravi-init-python.el +++ b/ravi-init-python.el @@ -33,7 +33,7 @@ (defun ravi/python-mode-hook() ;; Set ipython as our interpreter (setq python-shell-interpreter "ipython" - python-shell-interpreter-args "" + python-shell-interpreter-args "--pylab" python-shell-prompt-regexp "In \\[[0-9]+\\]: " python-shell-prompt-output-regexp "Out\\[[0-9]+\\]: " python-shell-completion-setup-code @@ -55,6 +55,8 @@ (setq python-indent-offset 4) ) + (add-to-list 'smart-tab-disabled-major-modes 'inferior-python-mode) + (use-package virtualenvwrapper :config (progn |
