aboutsummaryrefslogtreecommitdiff
path: root/editor.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2015-10-22 21:30:53 +0200
committerMarc André Tanner <mat@brain-dump.org>2015-10-22 21:30:53 +0200
commit78a253888eede22bba3fa549680cf0bb59d0928b (patch)
treeda19b5090818c44ecb09a26de82c7e6cc6066b41 /editor.h
parent4d072a37d75b3d26425fcc4b5cfcf1d67bab0658 (diff)
downloadvis-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.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/editor.h b/editor.h
index a9cc4ae..428839b 100644
--- a/editor.h
+++ b/editor.h
@@ -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 */