Scroll window in vim
We all know arrow keys are evil and you will go to vim-hell for using them. So just remap them to do something useful, like going up/down one line and also scrolling the window in that direction:
nnoremap <Up> k<C-Y>
nnoremap <Down> j<C-E>
Written by Tobias Frilling
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Vim
Authors
Related Tags
#vim
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#