i realised i won't remember little tricks if i don't write them down, so here it goes the first one:

q: how to swap 2 characters?
a: typing `xp`

stackoverflow.com/a/1529440

Follow

another useful i learnt today:

q: how to toggle case of the character under the cursor?
a: typing `~`

vim.fandom.com/wiki/Switching_

· · Web · 1 · 0 · 0
Sign in to participate in the conversation
Mastodon

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!