3 ms·
Better keyboard scrolling with this simple mapping: nmap <C-j> 3j3<C-e> nmap <C-k> 3k3<C-y> This maps the <C-j> and <C-k> keys to a scroll action similar to
by mihaifm 8y ago
Better keyboard scrolling with this simple mapping:
nmap <C-j> 3j3<C-e>
nmap <C-k> 3k3<C-y>
This maps the <C-j> and <C-k> keys to a scroll action similar to mouse scrolling: the cursors stays in a fixed position while the whole screen moves up or down 3 rows.
- taternuts 8y agoI similarly map <C-j> 5j and <C-k> 5k and find it to be one of the most useful bindings I use, can't VIM without it these days