13

I've tried using the following:

:map j 3j

When I do this and reload the .vimperatorrc file, it actually starts zooming in the page I'm on. The funny thing is, if I type 3j on a page without any mapping, it works. I'm using Vimperator 2.3.1 with Firefox 3.6.3.

Am I missing something?

Thanks!

2 Answers 2

19

Nevermind, figured it out:

:noremap j 3j
:noremap k 3k
0

This is controlled by the scroll variable:

set scroll=3
1
  • 1
    Incorrect. 'scroll' sets the number of lines to scroll with <C-u> and <C-d> commands, not j and k.
    – Tim
    Jun 22, 2016 at 22:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.