Tag 'vim':

Vim Vigor
Dec 16th, 2014

automatic refresh syntax-highlighting vim


Here’s a quick little Vim plugin for document refreshing. When I’m making changes to ADHOC, I like to see how they affect the generated code. Usually I have it generating to the same file repeatedly (“test.c”, for example). In that case, I could just run tail -f test.c, but then I wouldn’t get Vim’s helpful syntax highlighting. This plugin essentially makes Vim behave like tail -f. It sleeps for the specified duration (5 seconds by default), checks whether the file has been modified, refreshes it, if it has, and then calls itself again. Also, in my humble opinion, this plugin has the best name of all time.

Your E-Sheep:

( change )

Recent Posts:

10/14 - ADHOC Changelog
8/19 - And now… random puppies!
8/3 - Check Braces
7/23 - Make Limits Java Heap Size on 32-bit Linux
7/21 - Terminal Color Support in Makefiles

Top Tags:

aaaaargh! algorithms automatic awesome colors config development environment documentation frustrating java linux make parsing project management random syntax-highlighting terminal types

Random Quote:

Computers can do anything except "everything".
Kenny Harvey

Powered By:

2017 - Creative Commons 3.0