Quantcast
Browsing latest articles
Browse All 2 View Live

Answer by Matt for Determine if a bash script is called within vim

Usually it is okay just to test environment variables, such as $VIM or $VIMRUNTIME (or even $MYVIMRC, although the latter is not guaranteed to exist). This is very easy and portable.But, of course, you...

View Article


Determine if a bash script is called within vim

Is there a way for a bash script to determine if it's being run from within vim?I'm writing a small bash script that is only useful if called within vim. I'd like to assure that it only does its thing...

View Article

Browsing latest articles
Browse All 2 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>