News for hackers. Stuff that matters.
Re:What is in your .vimrc by jacobr on Sunday August 21, 2011 @05:09AM (#2908815)
I have mapped Caps Lock to switch between input and command mode. I use F10 as a "placeholder" to avoid triggering an actual changing of caps lock mode.

    # .Xmodmap:
    keycode 66 = F10
    clear Lock

    # .vimrc
    imap <F10> <ESC>
    nmap <F10> i

There are no comments on this comment yet.