Code Self Study Blog
GroupBlogForumAbout

Useful Vim Tips

Posted by Josh on November 18, 2017

I found a site with some interesting Vim tips. Check out these links:

  • Using more of ex
  • Advanced vim macros
  • Shell from vi
  • Vim misconceptions
  • and more...

A couple of highlights:

Run a macro on lines that match a pattern: :g/vim/ norm @a

03wdei^R=2012-^R”^M^[0j - see here

And useful information on ed: Actually using ed

I became interested in ed after learning this trick. It seems like it might be useful at some point.


To comment on this post join the forum or send us an email.

Read more:

  • ← How to Delete Blank Lines in Vim
  • Using ex to bulk-edit files →
© 2021 Code Self Study Blog • Forum • RSS Feed