From c0bbfeb5f52d320276b4f8da98a8765f8f68b9d7 Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Thu, 3 Aug 2017 14:42:01 +0100 Subject: [PATCH] Fix missing keybindings in company-mode --- modules/siren-company.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/siren-company.el b/modules/siren-company.el index 62808b1..8eebf7d 100644 --- a/modules/siren-company.el +++ b/modules/siren-company.el @@ -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))