diff options
author | Alan Pearce | 2013-09-09 13:46:37 +0100 |
---|---|---|
committer | Alan Pearce | 2013-09-09 14:10:17 +0100 |
commit | c12b575f04d653d12edfc9188a70f709607a30c3 (patch) | |
tree | 2e83f975a92f52b3526ae52ae30f01ac884233ce | |
parent | 946245e6c206f971e3ee3bd2f05be3fb5bbc57a0 (diff) | |
download | dotfiles-c12b575f04d653d12edfc9188a70f709607a30c3.tar.lz dotfiles-c12b575f04d653d12edfc9188a70f709607a30c3.tar.zst dotfiles-c12b575f04d653d12edfc9188a70f709607a30c3.zip |
Emacs: set company completion to only happen after inserting text
-rw-r--r-- | emacs/init.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/emacs/init.el b/emacs/init.el index b959702..620c5b3 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -311,7 +311,8 @@ Values: `desktop', `server', `laptop'") :bind (("C-<tab>" . 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 |