aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEnzo DO ROSARIO <contact@edorosario.fr>2023-09-06 20:22:36 +0200
committerAshton Wiersdorf <mail@wiersdorf.dev>2023-09-07 14:44:53 -0600
commit9e2f11f7b2e3b00c04af09c984e942ce027adecc (patch)
tree1770234aa392bf3e66acc73219f060729e8b55af
parent7bbd852df057bd700de6d16c50f1a7bf4ef62d78 (diff)
Add comment about vim default behaviour when pressing C-u
-rw-r--r--mixins/vim-like.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/mixins/vim-like.el b/mixins/vim-like.el
index e3d6025..f150e4a 100644
--- a/mixins/vim-like.el
+++ b/mixins/vim-like.el
@@ -17,10 +17,14 @@
;; Evil: vi emulation
(use-package evil
:ensure t
+
:init
(setq evil-respect-visual-line-mode t)
(setq evil-undo-system 'undo-redo)
- (setq evil-want-keybinding nil) ; prep to load evil-collection
+
+ ;; Enable this if you want C-u to scroll up, more like pure Vim
+ ;(setq evil-want-C-u-scroll t)
+
:config
(evil-mode)