|
|
|
@ -59,6 +59,7 @@ Return a list of installed packages or nil for every skipped package." |
|
|
|
|
(use-package eglot :ensure t) |
|
|
|
|
(add-hook 'c++-mode-hook 'eglot-ensure) |
|
|
|
|
(add-hook 'c-mode-hook 'eglot-ensure) |
|
|
|
|
(add-hook 'js-mode-hook 'eglot-ensure) |
|
|
|
|
|
|
|
|
|
(use-package centaur-tabs :init |
|
|
|
|
(setq centaur-tabs-enable-key-bindings t |
|
|
|
@ -104,7 +105,10 @@ Return a list of installed packages or nil for every skipped package." |
|
|
|
|
:ensure t |
|
|
|
|
:defer t |
|
|
|
|
:init |
|
|
|
|
(advice-add 'python-mode :before 'elpy-enable)) |
|
|
|
|
(advice-add 'python-mode :before 'elpy-enable) |
|
|
|
|
:config |
|
|
|
|
(setq elpy-modules (delq 'elpy-module-flymake elpy-modules)) |
|
|
|
|
(add-hook 'elpy-mode-hook 'flycheck-mode)) |
|
|
|
|
|
|
|
|
|
(use-package ivy :ensure t |
|
|
|
|
:diminish ivy-mode |
|
|
|
@ -140,7 +144,6 @@ Return a list of installed packages or nil for every skipped package." |
|
|
|
|
(("C-s" . swiper))) |
|
|
|
|
(setq search-default-mode #'char-fold-to-regexp) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(use-package projectile |
|
|
|
|
:ensure t |
|
|
|
|
:init |
|
|
|
@ -163,6 +166,7 @@ Return a list of installed packages or nil for every skipped package." |
|
|
|
|
(setq org-agenda-skip-deadline-if-done t) |
|
|
|
|
|
|
|
|
|
(add-hook 'diary-list-entries-hook 'diary-sort-entries t) |
|
|
|
|
(add-hook 'text-mode-hook 'turn-on-visual-line-mode) |
|
|
|
|
|
|
|
|
|
(cond ((file-exists-p "~/.emacs_home.el") (load "~/.emacs_home.el"))) |
|
|
|
|
(cond ((file-exists-p "~/.emacs_work.el") (load "~/.emacs_work.el"))) |
|
|
|
|