Skip to content

Instantly share code, notes, and snippets.

@ryfjwr
Created May 9, 2012 04:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ryfjwr/2641883 to your computer and use it in GitHub Desktop.
Save ryfjwr/2641883 to your computer and use it in GitHub Desktop.
autocompleteのC-n C-pで補完を選択できるようにする
(require 'auto-complete)↓
(require 'auto-complete-config)↓
(global-auto-complete-mode t)↓
;;C-n と C-pで補完を選択できる↓
(add-hook 'auto-complete-mode-hook↓
(lambda ()↓
(define-key ac-completing-map (kbd "C-n") 'ac-next)↓
(define-key ac-completing-map (kbd "C-p") 'ac-previous)))↓ ↓
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment