mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
Fix missing keybindings in company-mode
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user