doc: Update comments
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
;; to do highlighting them all.
|
||||
evil-ex-interactive-search-highlight 'selected-window
|
||||
;; It's infuriating that innocuous "beginning of line" or "end of line"
|
||||
;; errors will abort macros, so suppress them:
|
||||
;; errors will abort macros, so we suppress them:
|
||||
evil-kbd-macro-suppress-motion-error t
|
||||
evil-undo-system (cond ((featurep 'undo-tree) 'undo-tree)
|
||||
((featurep 'undo-fu) 'undo-fu)))
|
||||
@@ -35,20 +35,19 @@
|
||||
evil-want-integration t)
|
||||
|
||||
:config
|
||||
;; 'M-:' starts off in insert mode, yet initialises with the normal mode
|
||||
;; cursor. Quick fix! }:P
|
||||
(add-hook 'minibuffer-setup-hook
|
||||
#'evil-refresh-cursor)
|
||||
;; 'M-:' starts off in insert mode, yet the normal mode cursor lingers until a
|
||||
;; refresh is forced. Quick fix! }:P
|
||||
(add-hook 'minibuffer-setup-hook #'evil-refresh-cursor)
|
||||
|
||||
;; Unbind 'C-k'. Normally, it inserts digraphs; I have a compose key. It
|
||||
;; often gets in the way of buffers with navigation, e.g. scrolling through
|
||||
;; shell/REPL history, navigating Vertico completions, etc.
|
||||
;; Unbind 'C-k'. Normally, it inserts digraphs; I have a compose key, and
|
||||
;; it's strictly less useful than Emacs' native input methods. It often gets
|
||||
;; in the way of buffers with navigation, e.g. scrolling through shell/REPL
|
||||
;; history, navigating Vertico completions, etc.
|
||||
(keymap-set evil-insert-state-map "C-k" nil)
|
||||
|
||||
;; In imitation of Vim's :mes[sages] command, define an Evil analogue to show
|
||||
;; the echo area.
|
||||
(evil-ex-define-cmd "mes[sages]"
|
||||
#'view-echo-area-messages)
|
||||
(evil-ex-define-cmd "mes[sages]" #'view-echo-area-messages)
|
||||
|
||||
(evil-mode 1))
|
||||
|
||||
@@ -80,8 +79,7 @@
|
||||
;; We handle loading evil-collection ourselves
|
||||
(defvar evil-collection--supported-modes nil)
|
||||
;; This has to be defined here since evil-collection doesn't autoload its own.
|
||||
;; It must be updated whenever evil-collection updates theirs. Here's an easy
|
||||
;; way to update it:
|
||||
;; It must be updated whenever evil-collection updates theirs.
|
||||
(defvar evil-collection-mode-list
|
||||
`(2048-game ag alchemist anaconda-mode apropos arc-mode atomic-chrome
|
||||
auto-package-update beginend bluetooth bm bookmark
|
||||
|
||||
Reference in New Issue
Block a user