aboutsummaryrefslogtreecommitdiff
path: root/evil-vars.el
diff options
context:
space:
mode:
authorJAremko <w3techplayground@gmail.com>2016-04-06 11:55:47 +0300
committerJAremko <w3techplayground@gmail.com>2016-04-06 11:55:47 +0300
commite3bfdb6136c193a908f65a9ac3dcd3e047235f39 (patch)
treebb28b3f8e415f6a7a906793506bc155240938e82 /evil-vars.el
parentadbc6d9ab6ef9d44d9f6d53e226ad1a55ca30768 (diff)
Make evil-scroll-line-* remember last count.
Diffstat (limited to 'evil-vars.el')
-rw-r--r--evil-vars.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/evil-vars.el b/evil-vars.el
index 234abd1..6551600 100644
--- a/evil-vars.el
+++ b/evil-vars.el
@@ -1178,6 +1178,12 @@ and `evil-scroll-down'.
Determines how many lines should be scrolled.
Default value is 0 - scroll half the screen.")
+(evil-define-local-var evil-scroll-line-count 1
+ "Holds last used prefix for `evil-scroll-line-up'
+and `evil-scroll-line-down'.
+Determines how many lines should be scrolled.
+Default value is 1 line.")
+
(evil-define-local-var evil-state nil
"The current Evil state.
To change the state, use `evil-change-state'