Add company for completion

main
Sergio Alvariño 3 years ago
parent 99637606a1
commit 1f62c965eb

@ -482,9 +482,9 @@ Quick navigation to words
** iedit
[[https://github.com/victorhge/iedit][iedit]]: Interactive edition of all ocurrences of X
#+begin_src emacs-lisp
(use-package iedit
:bind
("C-ç" . iedit-mode))
(use-package iedit
:bind
("C-ç" . iedit-mode))
#+end_src
* Project management with projectile
@ -557,7 +557,6 @@ Quick navigation to words
Place your own snippets on =~/.cache/emacs/etc/yasnippet/snippets=
#+begin_src emacs-lisp
(use-package yasnippet
:config
:init
(yas-global-mode 1)
)
@ -567,6 +566,25 @@ Quick navigation to words
)
#+end_src
* company
Autocompletion with [[https://company-mode.github.io/][company]]
#+begin_src emacs-lisp
(use-package company
:init
(global-company-mode t)
:config
;; (setq company-idle-delay 0)
(setq company-idle-delay
(lambda () (if (company-in-string-or-comment) nil 0.3)))
(setq company-minimum-prefix-length 3)
;; (add-to-list 'company-backends 'company-yasnippet t)
:bind
("C-<iso-lefttab>" . company-complete-common-or-cycle)
)
#+end_src
* next
#+begin_src emacs-lisp
#+end_src

Loading…
Cancel
Save