From db65ac01a21d097183ae811e0847155f99bae25d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Thu, 22 Oct 2015 19:17:54 +0200 Subject: vis: improve :help text, add separate status mode names --- editor.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'editor.h') diff --git a/editor.h b/editor.h index e7b5f0a..3454bd4 100644 --- a/editor.h +++ b/editor.h @@ -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 */ -- cgit v1.2.3