Fix missing keybindings in company-mode

This commit is contained in:
2017-08-03 14:42:01 +01:00
parent 74629e1221
commit c0bbfeb5f5

View File

@@ -34,6 +34,10 @@
;; - from: https://github.com/company-mode/company-mode/issues/94#issuecomment-40884387
(define-key company-mode-map [remap indent-for-tab-command]
'company-indent-for-tab-command)
(define-key company-active-map (kbd "C-n") #'company-select-next)
(define-key company-active-map (kbd "C-p") #'company-select-previous)
(setq tab-always-indent 'complete)
(global-company-mode 1))