In vim, if i want to move 5 lines down i press J
given that my xnoremap J 5j
.
How do i reproduce this in emacs evil mode? The clue i have is that (define-key evil-normal-state-map "j" 'evil-next-visual-line)
gets me onto the next line. How to "multiple" evil-next-visual-line
symbol times 5?
C-u 5 j
work? If it does, you can supply any multiplier you want.evil-normal-state-map
,5
maps toC-u 5
. So5j
would beC-u 5 j
like you said. And it works just fine. But I believe OP wants sth likexnoremap J 5j
. It's a common cfg for people from vim background to set. :-)cfg
? Context-free grammar?)