|
|
@ -252,40 +252,40 @@ Install and configure packages. |
|
|
|
Evil mode and related packages. |
|
|
|
Evil mode and related packages. |
|
|
|
|
|
|
|
|
|
|
|
#+BEGIN_SRC emacs-lisp |
|
|
|
#+BEGIN_SRC emacs-lisp |
|
|
|
(use-package undo-tree |
|
|
|
(use-package undo-tree |
|
|
|
:config (global-undo-tree-mode)) |
|
|
|
:config (global-undo-tree-mode)) |
|
|
|
(use-package goto-chg) |
|
|
|
(use-package goto-chg) |
|
|
|
|
|
|
|
|
|
|
|
(use-package evil |
|
|
|
(use-package evil |
|
|
|
:after (undo-tree goto-chg) |
|
|
|
:after (undo-tree goto-chg) |
|
|
|
:custom |
|
|
|
:config |
|
|
|
(evil-search-module 'evil-search) |
|
|
|
(setq evil-ex-complete-emacs-commands nil) |
|
|
|
(evil-ex-complete-emacs-commands nil) |
|
|
|
(setq evil-search-module 'evil-search) |
|
|
|
(evil-vsplit-window-right t) |
|
|
|
(setq evil-shift-round nil) |
|
|
|
(evil-split-window-below t) |
|
|
|
(setq evil-split-window-below t) |
|
|
|
(evil-shift-round nil) |
|
|
|
(setq evil-undo-system 'undo-tree) |
|
|
|
(evil-want-C-u-scroll t) |
|
|
|
(setq evil-vsplit-window-right t) |
|
|
|
(evil-undo-system 'undo-tree) |
|
|
|
(setq evil-want-C-u-scroll t) |
|
|
|
;; Do not set half cursor in operator state |
|
|
|
;; Do not set half cursor in operator state |
|
|
|
(evil-operator-state-cursor 'box) |
|
|
|
(setq evil-operator-state-cursor 'box) |
|
|
|
;; Needed by evil-collection |
|
|
|
;; Needed by evil-collection |
|
|
|
(evil-want-integration t) |
|
|
|
(setq evil-want-integration t) |
|
|
|
(evil-want-keybinding nil) |
|
|
|
(setq evil-want-keybinding nil) |
|
|
|
:config (evil-mode)) |
|
|
|
(evil-mode)) |
|
|
|
|
|
|
|
|
|
|
|
(use-package evil-collection |
|
|
|
(use-package evil-collection |
|
|
|
:after evil |
|
|
|
:after evil |
|
|
|
:custom |
|
|
|
:custom |
|
|
|
(evil-collection-company-use-tng nil) |
|
|
|
(evil-collection-company-use-tng nil) |
|
|
|
(evil-collection-key-blacklist (list dot/leader-key dot/localleader-key |
|
|
|
(evil-collection-key-blacklist (list dot/leader-key dot/localleader-key |
|
|
|
dot/leader-alt-key dot/localleader-alt-key |
|
|
|
dot/leader-alt-key dot/localleader-alt-key |
|
|
|
"M-h" "M-j" "M-k" "M-l")) |
|
|
|
"M-h" "M-j" "M-k" "M-l")) |
|
|
|
(evil-collection-setup-minibuffer t) |
|
|
|
(evil-collection-setup-minibuffer t) |
|
|
|
:config (evil-collection-init)) |
|
|
|
:config (evil-collection-init)) |
|
|
|
|
|
|
|
|
|
|
|
(use-package evil-nerd-commenter |
|
|
|
(use-package evil-nerd-commenter |
|
|
|
:defer t |
|
|
|
:defer t |
|
|
|
:after evil) |
|
|
|
:after evil) |
|
|
|
#+END_SRC |
|
|
|
#+END_SRC |
|
|
|
|
|
|
|
|
|
|
|
*** Telephone Line |
|
|
|
*** Telephone Line |
|
|
|