The following references self-http://blog.csdn.net/yangzhongxuan/article/details/8484167 have verified the effect
Command one: Single character conversion (the letter where the cursor is located is converted)
~ Change the case of the letter under the cursor 3~ the 3 letters starting at the cursor position (Zhangshuli cursor in z 3~ zhangshuli)
Command two: Word conversion (from where the cursor is, to the end of the word)
Guw/gue from the beginning of the cursor to the end of a word, changing the lowercase
Guw/gue from the beginning of the cursor to the end of a word, changing the capitalization
Gu5w/gu5e from the beginning of the cursor to the end of 5 words, changing the capitalization
Command three: line case conversion
g~~ change the case of the current line letter
GU0 to uppercase from the cursor position to the beginning of the line
gu$ to uppercase from the cursor position to the end of the line
Command four: whole article case conversion
Gggug
gg= cursor to the first character of the file
Gu= the selected range all lowercase
g= to end of file
Case conversion in Visual mode
U Change the selected letter in the visual mode to capital Letter U to change the selected letter in the visual mode all to lowercase
vim-Casing Changer