diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2015-05-16 18:01:13 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2015-05-17 12:46:19 +0200 |
| commit | 1244aeae5c603593aa71df4b67974c11ea1576cd (patch) | |
| tree | 94b2639fa09505df2a40e31139b43bba187325e3 /config.def.h | |
| parent | 55d76f8a38a1da911bf3162f2b1f60cf91ec94bb (diff) | |
| download | vis-1244aeae5c603593aa71df4b67974c11ea1576cd.tar.gz vis-1244aeae5c603593aa71df4b67974c11ea1576cd.tar.xz | |
Filter command :!
If no range is given then stdin is passed through which allows
interactive usage as in
:!ls -1 *.c | slmenu
For this to work the command needs to use stderr for its user
interface and write any data for vis to stdout.
Diffstat (limited to 'config.def.h')
| -rw-r--r-- | config.def.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h index 88c032c..d2fab76 100644 --- a/config.def.h +++ b/config.def.h @@ -67,6 +67,7 @@ static Command cmds[] = { { { "wq", }, cmd_wq, CMD_OPT_FORCE }, { { "write", "w" }, cmd_write, CMD_OPT_FORCE }, { { "xit", }, cmd_xit, CMD_OPT_FORCE }, + { { "!", }, cmd_filter, CMD_OPT_NONE }, { /* array terminator */ }, }; |
