You are currently browsing the archives for the Vim category.

Posted on September 24, 2007 at 4:15 pm

Vim bondage and discipline

Inspired by this article and the subsequent discussion on reddit, I thought of writing a vim script version of the elisp code. 1 ” To discipline me against using arrow keys in vim 2 if exists(“Abuses_loaded”) 3 finish 4 endif 5 let Abuses_loaded = 1 6 7 let s:count = 0 8 let s:insults = [...]