From c12b575f04d653d12edfc9188a70f709607a30c3 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Mon, 9 Sep 2013 13:46:37 +0100 Subject: Emacs: set company completion to only happen after inserting text --- emacs/init.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'emacs') diff --git a/emacs/init.el b/emacs/init.el index b9597020..620c5b30 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -311,7 +311,8 @@ Values: `desktop', `server', `laptop'") :bind (("C-" . company-complete)) :init (progn (add-hook 'prog-mode-hook #'company-mode) - (setq company-idle-delay .3))) + (setq company-idle-delay .3 + company-begin-commands '(self-insert-command)))) ;;;; Dates & Times -- cgit 1.4.1