Redid helper library into viml (vim-like).