Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
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