Some useful Vim stuff for prose 0 ▲ Sal's Blog 4 hours ago · Tech · hide · 0 comments A lot of Vim tricks are geared toward working with source code, which I don’t do so much anymore. Below are some that are specifically helpful for working with prose. This list is not remotely exhaustive. I’m limiting it to stuff regular folks like me might use on a regular basis. I’m also skipping past the basics like w / W / b / B / etc. (If you’re new to Vim, try vimtutor in your terminal.) If you have a favorite tidbit that I should include here, or if I made any mistakes, please email me! Text objects and editing commands ciw: change inner word. Cuts the word under your cursor and enters Insert mode so you can start typing a new one. Or ciW to include all non-whitespace characters instead of the regular definition of “word.” cis: change inner sentence. Like the above but for the whole sentence. das: delete a sentence. Cuts a sentence cleanly, including surrounding punctuation and whitespace. cip and dap: Like the above but for paragraphs. ci" and ci': change text inside quotation… No comments yet. Log in to reply on the Fediverse. Comments will appear here.