diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2020-01-28 11:36:40 +0100 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2020-01-28 11:44:26 +0100 |
| commit | 91d49a0dd0feac1a97b63091ce7f6f32e619fff8 (patch) | |
| tree | 6d5dfb262da796a7b97f4393b33fff9a189365fb /man/vis.1 | |
| parent | ef74b81681de576881fe7533b851332d4660d967 (diff) | |
| download | vis-91d49a0dd0feac1a97b63091ce7f6f32e619fff8.tar.gz vis-91d49a0dd0feac1a97b63091ce7f6f32e619fff8.tar.xz | |
vis: support an optional exit status in :q and :qall commands
This can for example be used to abort git commit messages with :q! 1.
Diffstat (limited to 'man/vis.1')
| -rw-r--r-- | man/vis.1 | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1206,11 +1206,11 @@ split window horizontally .It Ic :vsplit Op Ar file name split window vertically . -.It Ic :q Ns Op Cm "!" +.It Ic :q Ns Oo Cm "!" Oc Op Ar exit code close currently focused window . -.It Ic :qall Ns Op Cm "!" -close all windows, exit editor +.It Ic :qall Ns Oo Cm "!" Oc Op Ar exit code +close all windows, terminate editor with exit code (defaults to 0) .El .Pp Commands taking a file name will invoke the |
