KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I sometimes find document traversal to be too slow in Vim when using h, j, k, l . Is there a way to temporally increase the number of lines / characters that these keys move the cursor? (I.e. instead of moving 1j , pressing j will move 3j ) Edit: Solution: :map <F8> :noremap j 3j <CR> :map <S-F8> :noremap j j <CR> I wanted something like this so that I can easily browse longer bodies of code that am not necessarily familiar it. This approach allows me to easily toggle between "browsing" mode and "coding" mode.
Tags (comma-separated)
Save Edits
Cancel