aboutsummaryrefslogtreecommitdiff
path: root/evil-types.el
diff options
context:
space:
mode:
authorAxel Forsman <axelsfor@gmail.com>2023-01-03 15:23:33 +0100
committerAxel Forsman <axelsfor@gmail.com>2023-01-09 11:13:25 +0100
commit1be2289b360bef05f306517732d9e462291abb6d (patch)
tree6e361c9b763b9d0fb88e92e12b217a94af699384 /evil-types.el
parent84bd6798c70fc43ebdfbb935586bd424e00fe057 (diff)
Use scroll-preserve-screen-position for C-u/C-d
The built-in functions scroll-up/-down already support optionally preserving the cursor screen position while scrolling via CTRL-U and CTRL-D. This makes it unnecessary to do it manually through (let ((xy (evil-posn-x-y (posn-at-point)))) ... (goto-char (posn-point (posn-at-x-y (car xy) (cdr xy)))))
Diffstat (limited to 'evil-types.el')
0 files changed, 0 insertions, 0 deletions