Tag: vim

VIM: Preserve File Date with Touch

I had a single file I needed to modify but didn’t want to modify the date of the file.  It was a minor change to the file, so I wanted to maintain the file date for posterity.  In any case, I learned the vim does not provide this functionality, but touch would and quite easily.  With that said, I am…

Read More »

VIM: Join Lines

I had a document where I wanted to join every other line.  I tried several approaches on a Windows box using Cygwin but only one worked with a couple variations.  Using the vim editor.  This is a new trick to me, and wanted to jot it down before I forget about. The file looked something like this. One approach was…

Read More »