|
@ -443,6 +443,14 @@ Activate company and make it react nearly instantly |
|
|
|
|
|
|
|
|
Backend configuration for python-mode |
|
|
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 |
|
|
#+begin_src emacs-lisp |
|
|
(defun company/python-mode-hook() |
|
|
(defun company/python-mode-hook() |
|
|
(set (make-local-variable 'company-backends) |
|
|
(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. |
|
|
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 |
|
|
** Lisp |
|
|
|
|
|
|
|
|
#+begin_src emacs-lisp |
|
|
#+begin_src emacs-lisp |
|
@ -678,4 +706,5 @@ _v_ verify setup _f_ check _s_ select |
|
|
) |
|
|
) |
|
|
#+end_src |
|
|
#+end_src |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Quality of Life |
|
|
* Quality of Life |