News for hackers. Stuff that matters.
Re:Vim Anti-Patterns by mihaifm on Wednesday October 05, 2016 @02:44PM (#12646595)
For better scrolling:

    nmap <C-j> 3j3<C-e>
    nmap <C-k> 3k3<C-y>
(replace "3" with whatever number you like best). These shortcuts will enable you to scroll the text, while keeping the cursor fixed. It's similar to web page scrolling. It helpls you type in code while maintaining an overview on what's going on below and above it. Add these to your .vimrc and use them for some time. You'll thank me later.
Re:Vim Anti-Patterns by weaksauce on Wednesday October 05, 2016 @04:36PM (#12647608)
I could see using that with J and K because I use c-(hjkl) for moving between open buffers in a tab. Nice tip though.

   map <C-h> <C-w>h
   map <C-j> <C-w>j
   map <C-k> <C-w>k
   map <C-l> <C-w>l