diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2017-01-10 20:57:55 +0100 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2017-01-10 22:18:24 +0100 |
| commit | 68a899b8faf83cc7c0f00def991acb28dc6d7135 (patch) | |
| tree | 136912a0dbe8338c1e7a93af565b0940a5d49e20 /vis-cmds.c | |
| parent | 329d0980c79b14987cee43c70b489a5a6a09c6aa (diff) | |
| download | vis-68a899b8faf83cc7c0f00def991acb28dc6d7135.tar.gz vis-68a899b8faf83cc7c0f00def991acb28dc6d7135.tar.xz | |
vis: add valid marks to :help output
Diffstat (limited to 'vis-cmds.c')
| -rw-r--r-- | vis-cmds.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -683,6 +683,11 @@ static bool cmd_help(Vis *vis, Win *win, Command *cmd, const char *argv[], Curso text_appendf(txt, "\n :-Commands\n\n"); map_iterate(vis->cmds, print_cmd, txt); + text_appendf(txt, "\n Marks\n\n"); + text_appendf(txt, " a-z General purpose marks\n"); + for (size_t i = 0; i < LENGTH(vis_marks); i++) + text_appendf(txt, " %c %s\n", vis_marks[i].name, vis_marks[i].help); + text_appendf(txt, "\n :set command options\n\n"); for (int i = 0; i < LENGTH(options); i++) { char names[256]; |
