Remove unused field from YiVar.
Remove older vim keymap.
Refactoring.
Fix some hlint warnings.