News for hackers. Stuff that matters.
Re:Snake Vim Trainer by theon144 on Friday August 16, 2013 @02:16PM (#6225766)
When I was learning vikeys, I just disabled arrowkeys in my .vimrc :)

    inoremap  <Up>     <NOP>
    inoremap  <Down>   <NOP>
    inoremap  <Left>   <NOP>
    inoremap  <Right>  <NOP>
    noremap   <Up>     <NOP>
    noremap   <Down>   <NOP>
    noremap   <Left>   <NOP>
    noremap   <Right>  <NOP>
I know it sounds masochistic, but it really isn't; I actually had to check after a while whether I really set it, because I didn't remember any issues with navigation. Try it!

There are no comments on this comment yet.