aboutsummaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2015-10-23 12:30:30 +0200
committerMarc André Tanner <mat@brain-dump.org>2015-10-23 23:01:56 +0200
commitafb87c6d29275e18faec6a8b96e7d5ab57bcb0f9 (patch)
tree1cd7e0ab6a3a10347547a232e187838a6ca5957f /config.def.h
parent5ae02ee68bd4df690d7ebcd6c8a0eb36fcf71835 (diff)
downloadvis-afb87c6d29275e18faec6a8b96e7d5ab57bcb0f9.tar.gz
vis-afb87c6d29275e18faec6a8b96e7d5ab57bcb0f9.tar.xz
vis: begin librarization of core vis primitives
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h26
1 files changed, 0 insertions, 26 deletions
diff --git a/config.def.h b/config.def.h
index 64d3648..c1ba0af 100644
--- a/config.def.h
+++ b/config.def.h
@@ -1,31 +1,5 @@
/** start by reading from the top of vis.c up until config.h is included */
-/* a mode contains a set of key bindings which are currently valid.
- *
- * each mode can specify one parent mode which is consultated if a given key
- * is not found in the current mode. hence the modes form a tree which is
- * searched from the current mode up towards the root mode until a valid binding
- * is found.
- *
- * if no binding is found, mode->input(...) is called and the user entered
- * keys are passed as argument. this is used to change the document content.
- */
-enum {
- VIS_MODE_BASIC,
- VIS_MODE_MOVE,
- VIS_MODE_OPERATOR,
- VIS_MODE_OPERATOR_OPTION,
- VIS_MODE_NORMAL,
- VIS_MODE_TEXTOBJ,
- VIS_MODE_VISUAL,
- VIS_MODE_VISUAL_LINE,
- VIS_MODE_READLINE,
- VIS_MODE_PROMPT,
- VIS_MODE_INSERT,
- VIS_MODE_REPLACE,
- VIS_MODE_LAST,
-};
-
static Mode vis_modes[VIS_MODE_LAST];
/* command recognized at the ':'-prompt. commands are found using a unique