Refactored dimu related functions to vim-dimu plugin.