Browse Source

Change company-complete keybind

master
10sr 5 years ago
parent
commit
5a82d3c33f
Signed by: 10sr GPG Key ID: C384BB17CBB19347
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      emacs.el

+ 1
- 2
emacs.el View File

@@ -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)


Loading…
Cancel
Save