From 5e08ab8af63d169edce670a150693f39463c7ba5 Mon Sep 17 00:00:00 2001 From: syl20bnr Date: Mon, 1 Sep 2014 00:26:58 -0400 Subject: [PATCH] Change key binding for python inferior shell process Now use `mi` --- my-keybindings.el | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/my-keybindings.el b/my-keybindings.el index fa9fcafef..aad9646ab 100644 --- a/my-keybindings.el +++ b/my-keybindings.el @@ -385,6 +385,11 @@ (evil-insert-state)) "mf" 'python-shell-send-defun "mg" 'jedi:goto-definition + "mi" (lambda () + " Switch to shell in insert mode." + (interactive) + (python-shell-switch-to-shell) + (evil-insert-state)) "mp" 'python-add-breakpoint "mR" (lambda (start end) " Send region content to shell and switch to it in insert mode." @@ -393,11 +398,6 @@ (python-shell-switch-to-shell) (evil-insert-state)) "mr" 'python-shell-send-region - "ms" (lambda () - " Switch to shell in insert mode." - (interactive) - (python-shell-switch-to-shell) - (evil-insert-state)) "mTf" 'nosetests-pdb-one "mtf" 'nosetests-one "mTa" 'nosetests-pdb-all