First put the Exvim. Then modify the. vimrc file.
1. Automatic line wrapping. Takes two steps:
Set textwidth=70 for Word count
Set Wrap sets Automatic wrapping
Set linebreak "word wrapping, with the use of automatic line wrapping, the effect is very good
Set nowrap setting does not automatically fold rows
2, highlight when the forward
Set Cursorline
3, set the window color selection colorscheme darkblue
4. Auto roll down set scrolloff=5 "Automatically roll down or roll up when the cursor is close to the bottom or top.
5. Set UTF8 file encoding format set Encoding=utf-8
Set Termencoding=utf-8
Set Fileencoding=chinese
Set Fileencodings=ucs-bom,utf-8,chinese
Set Langmenu=zh_cn.utf-8
SOURCE $VIMRUNTIME/delmenu.vim
SOURCE $VIMRUNTIME/menu.vim
Language Messages Zh_cn.utf-8
Vim format file shortcut key:
1,gg jump to the first line
2,shift+v go to Visual mode
3,shift+g Select All
4, press the Magic =
You will be surprised to find that the code is automatically indented, hehe, of course, it may be tragic.
Vim Utility Configuration