diff --git a/config.org b/config.org index 75e379f..a9db3f3 100644 --- a/config.org +++ b/config.org @@ -443,6 +443,14 @@ Activate company and make it react nearly instantly Backend configuration for python-mode +Common backends are: +- company-files: files & directory +- company-keywords: keywords +- company-capf: ?? +- company-abbrev: ?? +- company-dabbrev: dynamic abbreviations +- company-ispell: ?? + #+begin_src emacs-lisp (defun company/python-mode-hook() (set (make-local-variable 'company-backends) @@ -490,6 +498,26 @@ For the popups the package pos-tip.el is used and automatically installed. Maybe add [[https://github.com/hlissner/emacs-company-dict][company-dict]]? It's a dictionary based on major modes, plus it has Yasnippet integration. +** Projectile + Brings search functions on project level + + #+begin_src emacs-lisp +(use-package projectile + :defer t + :init + (setq-default + projectile-cache-file (expand-file-name ".projectile-cache" user-emacs-directory) + projectile-keymap-prefix (kbd "C-c C-p") + projectile-known-projects-file (expand-file-name + ".projectile-bookmarks" user-emacs-directory)) + :config + (projectile-mode t) + (setq-default + projectile-completion-system 'ivy + projectile-enable-caching t + projectile-mode-line '(:eval (projectile-project-name))) + ) + #+end_src ** Lisp #+begin_src emacs-lisp @@ -678,4 +706,5 @@ _v_ verify setup _f_ check _s_ select ) #+end_src + * Quality of Life