##// END OF EJS Templates
Improve tab-completion for emacs in terminals
jdh2358 -
Show More
@@ -6,7 +6,7 b''
6 6 ;; URL: http://ipython.scipy.org
7 7 ;; Compatibility: Emacs21, XEmacs21
8 8 ;; FIXME: #$@! INPUT RING
9 (defconst ipython-version "$Revision: 2154 $"
9 (defconst ipython-version "$Revision: 2232 $"
10 10 "VC version number.")
11 11
12 12 ;;; Commentary
@@ -175,6 +175,9 b' the second for a \'normal\' command, and the third for a multiline command.")'
175 175
176 176 (ansi-color-for-comint-mode-on)
177 177 (define-key py-shell-map [tab] 'ipython-complete)
178 ;; Add this so that tab-completion works both in X11 frames and inside
179 ;; terminals (such as when emacs is called with -nw).
180 (define-key py-shell-map "\t" 'ipython-complete)
178 181 ;;XXX this is really just a cheap hack, it only completes symbols in the
179 182 ;;interactive session -- useful nonetheless.
180 183 (define-key py-mode-map [(meta tab)] 'ipython-complete)
General Comments 0
You need to be logged in to leave comments. Login now