vp(1) General
Commands Manual vp(1)
NAME
vp
—
run commands interactively
SYNOPSIS
vp |
[arg ...] |
DESCIPTION
vp
opens vi(1) with two custom key mappings, defined in
/usr/local/etc/vprc:
- g
- Execute the buffer as a shell command and append the output to the buffer with each line beginning with ‘# ’. Lines beginning with ‘#’ are ignored by g.
- q
- Remove any lines not beginning with ‘#’ and remove the ‘# ’ prefix from all remaining lines.
These mappings are useful for interactively testing shell
commands. Any arguments given to vp
are passed on to
vi(1).
AUTHORS
vp
is written by John Ankarström
<john
(at)
ankarstrom.se>. It is
inspired by Mateusz Czapliński's
up
(“Ultimate Plumber”) tool.
December 21,
2024 OpenBSD 7.2