tags: vim # Change Case See [vim.fandom](https://vim.fandom.com/wiki/Switching_case_of_characters ) ```csv sep=| ~|Toggle case of the character under the cursor, or all visually-selected characters. 3~|Toggle case of the next three characters. g~3w|Toggle case of the next three words. g~iw|Toggle case of the current word (inner word – cursor anywhere in word). g~$|Toggle case of all characters to end of line. g~~|Toggle case of the current line (same as V~). ``` If visual selected: ```csv sep=| u|Lowercase U|Uppercase ``` Then combining ```csv sep=| vu|Lowercase current char vU|Uppercase current char ``` # Arithmetic ``` C-a increment C-x decrement ```