Permalink
Browse files

some addition tty keybindings for auto-complete

  • Loading branch information...
1 parent 4f220c6 commit 388a90df1d0340032373a0bf8c72de741abb3f61 @tavisrudd committed Mar 22, 2012
Showing with 9 additions and 1 deletion.
  1. +9 −1 dss-completion.el
View
@@ -179,8 +179,16 @@ advice like this:
;; (define-key ac-completing-map " " 'dss/ac-electric-char)
(define-key ac-completing-map "\r" 'ac-complete-no-fallback)
;; (define-key ac-completing-map (kbd "M-/") 'dabbrev-completion)
-(define-key ac-completing-map (kbd "M-/") 'dss/hippie-expand)
+;; (define-key ac-completing-map (kbd "M-/") 'dss/hippie-expand)
+(define-key ac-completing-map (kbd "M-/") 'ac-expand)
+;;; <up/down> in terminal
+(define-key ac-completing-map "\e[A" 'ac-previous)
+(define-key ac-completing-map "\e[B" 'ac-next)
+
+;;; C-<up/down> in terminal
+(define-key ac-completing-map "\eOa" 'ac-quick-help-scroll-up)
+(define-key ac-completing-map "\eOb" 'ac-quick-help-scroll-down)
;;; this seems to be little bit buggy with the most recent version of auto-complete.el ...

0 comments on commit 388a90d

Please sign in to comment.