diff options
| -rw-r--r-- | config.def.h | 5 | ||||
| -rw-r--r-- | vis.c | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h index 1edebba..e9c055a 100644 --- a/config.def.h +++ b/config.def.h @@ -854,6 +854,11 @@ static Config editors[] = { /* default editor configuration to use */ static Config *config = &editors[0]; +/* null terminated default settings/commands executed once on editor startup */ +static const char *settings[] = { + NULL +}; + /* Color definitions for use in the sytax highlighting rules below. A fore * or background color of -1 specifies the default terminal color. */ enum { @@ -2106,6 +2106,7 @@ int main(int argc, char *argv[]) { exec_command(cmd[0], cmd+1); } + settings_apply(settings); mainloop(); editor_free(vis); endwin(); |
