News for hackers. Stuff that matters.
Re:Vim anti-patterns by oinksoft on Tuesday February 07, 2012 @09:59PM (#3564837)
It's just an ugly way to do a mapping. I used to have some mappings like these in my rc, but I removed them in favor of similar ones that backtrack instead. If the author wants "jj" to be <ESC>, it can be done without the lag: You just check the previous character on 'j' and then take action accordingly.
Re:Vim anti-patterns by edanm on Wednesday February 08, 2012 @04:56AM (#3565939)
Can you show us the script you use to make this happen? Sounds interesting.