Browse Source

Fix evil-operator-state-cursor, indentation

master
Riyyi 4 years ago
parent
commit
a380e6b300
  1. 34
      .config/emacs/config.org

34
.config/emacs/config.org

@ -252,28 +252,28 @@ 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)
@ -283,7 +283,7 @@ Install and configure packages.
(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

Loading…
Cancel
Save