diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2015-10-22 21:30:53 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2015-10-22 21:30:53 +0200 |
| commit | 78a253888eede22bba3fa549680cf0bb59d0928b (patch) | |
| tree | da19b5090818c44ecb09a26de82c7e6cc6066b41 /editor.h | |
| parent | 4d072a37d75b3d26425fcc4b5cfcf1d67bab0658 (diff) | |
| download | vis-78a253888eede22bba3fa549680cf0bb59d0928b.tar.gz vis-78a253888eede22bba3fa549680cf0bb59d0928b.tar.xz | |
vis: remove config selection based on argv[0]
I would still like to experiment with a busybox style editor
multiplexer which behaves like vi(m), emacs or nano depending
on argv[0].
Diffstat (limited to 'editor.h')
| -rw-r--r-- | editor.h | 7 |
1 files changed, 0 insertions, 7 deletions
@@ -62,13 +62,6 @@ struct Mode { }; typedef struct { - char *name; /* is used to match against argv[0] to enable this config */ - Mode *mode; /* default mode in which the editor should start in */ - bool (*keypress)(const char *key); /* called before any other keybindings are checked, - * return value decides whether key should be ignored */ -} Config; - -typedef struct { int count; /* how many times should the command be executed? */ Register *reg; /* always non-NULL, set to a default register */ Filerange range; /* which part of the file should be affected by the operator */ |
