Good day,
I wanted to use evil to move a few lines down or up at once, less than with evil-scroll-down/up, but more than one line. I made a brief function:
defun go-up-few-lines ()
"Insert a todo-subheading"
(interactive)
(evil-previous-line 4)
It works, however when I enter a visual mode it stops working. Even usual previous line doesn't work if I try to execute it with M-x. When I press the shortcut button previous line works, but go up a few lines command. I am using doom emacs on a MacOS. How can I make go up few lines work in visual mode also?