640

Basic Key

KeyCommandDescription
TAB, C-iac-expandCompletion by TAB
RET, C-mac-completeCompletion by RET
down, M-nac-nextSelect next candidate
up, M-pac-previousSelect previous candidate
C-?, f1ac-helpShow buffer help

Reference

Install

  1. Download the source file:
    wget http://cx4a.org/pub/auto-complete/auto-complete-1.3.1.tar.bz2
  2. Unpack the source file:
    tar jxvf auto-complete-1.3.1.tar.bz2
  3. Install
    cd auto-complete-1.3.1
    make install
    emacs -Q -L . -batch -l etc/install 
    Loading subst-ksc...
    Loading subst-gb2312...
    Loading subst-big5...
    Loading subst-jis...
    Install to: /home/username/.emacs.d
    Installing to /home/username/.emacs.d from /hoge/auto-complete-1.3.1/
    Wrote /hoge/..../auto-complete-config.elc
    Wrote /hoge/..../auto-complete.elc
    Wrote /hoge/..../fuzzy.elc
    Wrote /hoge/..../popup.elc
    
    Successfully installed!
  4. Edit .emacs file:
    (add-to-list 'load-path "/home/username/.emacs.d")
    (require 'auto-complete-config)
    (add-to-list 'ac-dictionary-directories "/home/username/.emacs.d/ac-dict")
    (ac-config-default)