VIMc is a very basic VimSript "interpreter" for running .vim files in the terminal. It is essentially just a wrapper around Vim that auto runs your .vim script in a headless mode then quits
Did you expect me to write something which didn't need to be written? If something more than adequate can be written as a simple wrapper, why do any more?
-
help
vimc -h
-
run file
(replace
/foo/bar/baz.vimwith your VimScript file)vimc /foo/bar/baz.vim
-
Hashbang
Add this hashbang to the top of your VimScript
(replace
/usr/bin/vimcwith your VIMc path)#!/usr/bin/vimc
- Vim
-
Download binary
wcurl:
wcurl https://raw.githubusercontent.com/Supraboy981322/vimc/master/build/vimc
-
Make executable (may require
su)chmod a+x vimc
-
Move binary to
$PATH(may requiresu)ie:
/usr/binmv vimc /usr/bin/vimc