Undo and redo

If you’ve been using vim for long, you are likely acquainted with u, the undo command. All too often overzealous with u, I undo edits unintentionally. A quick peek at the vim help for u yields that C-r will redo edits previously unwound with u.

Continue reading »

Well Formatted Paragraphs

Many folks use vim for software development or systems administration but choose other editors when editing plain text or markdown. Vim has some pretty handy features for dealing with prose.

Continue reading »

Opening the previous buffer

Have you ever accidentally opened a file you didn’t intend to from somewhere like the quick fix window? Or dive deep into debugging a problem only to realize you need to fix something in one of those files somehwere in your wake? Then Vim “jumps” are for you!

Continue reading »

Change case

There are numerous ways to manipulate the case of text in Vim. The most important commands to remember are:

Continue reading »

Creating file templates

Software projects are commonly composed of similar files in a specific location and new files typically require some minimal boilerplate. Tim Pope’s projectionist.vim offers a handy way to templatize the creation of new files directly in Vim.

Continue reading »
Top