Change `vimrc` file encoding order.
Fix vimrc, code cleanup and add dynamic space size feature.
Code cleanup.