diff --git a/myconfig.org b/myconfig.org index 7e2fc00..6b47223 100644 --- a/myconfig.org +++ b/myconfig.org @@ -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-" . company-complete-common-or-cycle) + ) + #+end_src + * next #+begin_src emacs-lisp #+end_src