From 5a82d3c33ffa4e1f16ae0be1740a673099d9bb41 Mon Sep 17 00:00:00 2001 From: 10sr <8.slashes@gmail.com> Date: Sun, 17 Mar 2019 20:20:01 +0900 Subject: [PATCH] Change company-complete keybind --- emacs.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/emacs.el b/emacs.el index 1a06728..6e42f1d 100644 --- a/emacs.el +++ b/emacs.el @@ -1005,8 +1005,7 @@ found, otherwise returns nil." (set-variable 'company-minimum-prefix-length 2) (set-variable 'company-selection-wrap-around t) - (global-set-key (kbd "C-M-i") 'company-complete) - (define-key emacs-lisp-mode-map (kbd "C-M-i") 'company-complete) + (define-key ctl-x-map (kbd "C-i") 'company-complete) ; Originally `indent-rigidly' (defvar company-active-map) (define-key company-active-map (kbd "C-n") 'company-select-next)