diff options
author | Julian T <julian@jtle.dk> | 2021-09-10 21:47:22 +0200 |
---|---|---|
committer | Julian T <julian@jtle.dk> | 2021-09-10 21:47:22 +0200 |
commit | 090a5755db429ac1cdc0343a22abfcd9e16c9152 (patch) | |
tree | 37c2140a2deae6f6ec7b25aee266f7a88b3aa8ee /emacs/.emacs | |
parent | 74174ffb7689900b8c53db7e83ec681080c5456c (diff) |
Run company in elisp-mode and redefine list-buffers
Diffstat (limited to 'emacs/.emacs')
-rw-r--r-- | emacs/.emacs | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/emacs/.emacs b/emacs/.emacs index 88da9cd..f051328 100644 --- a/emacs/.emacs +++ b/emacs/.emacs @@ -29,11 +29,13 @@ (setq evil-want-keybinding nil) (setq evil-want-C-u-scroll t) :config + (evil-mode 1)) (use-package evil-collection :after evil :ensure t + :config (evil-collection-init)) @@ -46,7 +48,6 @@ (toggle-scroll-bar -1) ;; Completion -;; (add-hook 'after-init-hook 'global-company-mode) (require 'lsp-mode) (mapc (lambda (mode) (add-hook mode #'lsp)) (list @@ -54,6 +55,12 @@ 'python-mode-hook )) +(mapc (lambda (mode) (add-hook mode 'company-mode)) (list + 'emacs-lisp-mode-hook + )) + +;; Custom keybinding +(define-key (current-global-map) [remap list-buffers] 'ibuffer) (custom-set-variables ;; custom-set-variables was added by Custom. |