Dup Goto 📝

KeystrokesInInsertMode

PT2/editor/vim vim 09-05 19:07:12
To Pop
27 lines, 93 words, 653 chars Thursday 2024-09-05 19:07:12

Change Case

See vim.fandom

~Toggle case of the character under the cursor, or all visually-selected characters.
3~Toggle case of the next three characters.
g~3wToggle case of the next three words.
g~iwToggle 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:

uLowercase
UUppercase

Then combining

vuLowercase current char
vUUppercase current char

Arithmetic

C-a increment
C-x decrement