HOME |
GIT Overview |
Script-Archive:
(docs) :
(wiki) :
(git) |
...
Peter's Script-Archive - VIM (Placeholder)
I still want to finish some macros and finally split my grab bag
vim script file into presentable sections. Don't hold your breath.
Files of Interest
Git
View of this section / Download
- shell scripts
- experimental: vimscript uses vim as interpreter for file containing
non-interactive vim script. Can be used with pipes. Note that the
script still requires a TTY due to short-comings of vim's head-less mode.
For the time being, do not try to run multiple scripts in parallel;
the tempfile handling needs fixing (bash; full rewrite of the original vimsh
vimscript example). Published as
vimscript#2768 ).
- pipe.vim aka vimpipe: interactively use vim within a pipe,
e.g. for grep|pipe.vim|Grep.xchange. It also allow end-of-pipe
style uses like find|xargs pipe.vim, editing all files being
passed as arguments from xargs, with help and the contents of stdin
available in the last buffer. Note that both pipe.vim and vimless
do wait for the end of input from earlier pipe stages. Published as
vimscript#2769 .
- pipe.vimcolorcat is a small shell wrapper around the 2ansi / 2html macros
for use as an intermediate non-interactive pipeline stage. Syntax-highlighing of
output is done using either ANSI sequences or colored HTML according to the file
type's vim syntax file. 2html.vim is part of the standard runtime, 2ansi.vim can
be found on vim.org as vim2ansi script. For the time being, do not run
pipe.vimcolorcat in parallel; shell-loops and similar are ok.
- vimless is similar to pipe.vim, but for the last stage of a pipe, slightly
preconfigured to implement a less-clone capable of syntax highlighting. Like pipe.vim,
it can also be wrapped by e.g. xargs. Simple vim options can also be placed in
VIMLESSOPT, e.g. export VIMLESSOPT='-c "set ft=perl"' (note that the standard
runtime contains a variant of this in form of macros/less.sh (macros/less.vim))
- vim scripts
- to be added: configuration files (dir.runtime)
- to be added: vimsh with pty3 + urxvt patch (vimsh for interactive commands
and improved session subscripts)
- to be added: vim scripts (after a clean up and split of .vimrc and
my function library file)
HOME |
GIT Overview |
Script-Archive:
(docs) :
(wiki) :
(git) |
...
jakobi(at)acm.org, 2009-07 - 2012-03