Wednesday, April 30, 2008

vim word movement with underscore delimiter

see VIM FAQ, 12.35.
:set iskeyword-=_

Also see the camelcasemotion plug-in, described in one of the comments below by leoc.me.

VIM Quick Reference Card

Link

SCons error with Ubuntu Hardy: "scons: *** object of type 'int' has no len()"

delete .sconsign.dblite, since the function convert_old_entry in /usr/lib/scons/SCons/Node/FS.py that should handle old formats of .sconsign.dblite is buggy.

Monday, April 21, 2008

grep alias with arguments and filter

alias mygrep 'grep -i -R \!^ * | grep -v \.svn'

(!^ passes the first argument)

(works only in cshell, for bash use something like this.)