diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2015-10-22 19:17:54 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2015-10-22 19:29:03 +0200 |
| commit | db65ac01a21d097183ae811e0847155f99bae25d (patch) | |
| tree | 2a7431f4491c415c7164b77f273de6a8e8cc26f2 /editor.h | |
| parent | d086a162c7c776bad95d85c128599438fbf77395 (diff) | |
| download | vis-db65ac01a21d097183ae811e0847155f99bae25d.tar.gz vis-db65ac01a21d097183ae811e0847155f99bae25d.tar.xz | |
vis: improve :help text, add separate status mode names
Diffstat (limited to 'editor.h')
| -rw-r--r-- | editor.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -49,6 +49,8 @@ struct Mode { Map *bindings; KeyBinding *default_bindings; const char *name; /* descriptive, user facing name of the mode */ + const char *status; /* name displayed in the window status bar */ + const char *help; /* short description used by :help */ bool isuser; /* whether this is a user or internal mode */ void (*enter)(Mode *old); /* called right before the mode becomes active */ void (*leave)(Mode *new); /* called right before the mode becomes inactive */ |
