diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2015-11-08 14:04:46 +0100 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2015-11-08 14:06:59 +0100 |
| commit | 49bd7c482959b09b9cd1792ca3777f04d87853b4 (patch) | |
| tree | 164021a78470f779b08f986a91734bfd8d2b40a8 /vis-modes.c | |
| parent | 21d39206f2edf8a44438571244db361ee9d47746 (diff) | |
| download | vis-49bd7c482959b09b9cd1792ca3777f04d87853b4.tar.gz vis-49bd7c482959b09b9cd1792ca3777f04d87853b4.tar.xz | |
vis: reindent config.def.h (no functional changes)
Diffstat (limited to 'vis-modes.c')
| -rw-r--r-- | vis-modes.c | 37 |
1 files changed, 1 insertions, 36 deletions
diff --git a/vis-modes.c b/vis-modes.c index ea539f1..7ded3ba 100644 --- a/vis-modes.c +++ b/vis-modes.c @@ -162,42 +162,7 @@ static void vis_mode_replace_input(Vis *vis, const char *str, size_t len) { vis_replace_key(vis, str, len); } - - -/* - * the tree of modes currently looks like this. the double line between OPERATOR-OPTION - * and OPERATOR is only in effect once an operator is detected. that is when entering the - * OPERATOR mode its parent is set to OPERATOR-OPTION which makes {INNER-,}TEXTOBJ - * reachable. once the operator is processed (i.e. the OPERATOR mode is left) its parent - * mode is reset back to MOVE. - * - * Similarly the +-ed line between OPERATOR and TEXTOBJ is only active within the visual - * modes. - * - * - * BASIC - * (arrow keys etc.) - * / | - * /-------------------/ | - * READLINE MOVE - * / \ (h,j,k,l ...) - * / \ | \-----------------\ - * / \ | | - * INSERT PROMPT OPERATOR ++++ INNER-TEXTOBJ - * | (history etc) (d,c,y,p ..) + (i [wsp[]()b<>{}B"'`] ) - * | | \\ + | - * | | \\ + | - * REPLACE NORMAL \\ + TEXTOBJ - * | \\ + (a [wsp[]()b<>{}B"'`] ) - * | \\ + + | - * | \\ + + | - * VISUAL \\ OPERATOR-OPTION - * | \\ (v,V) - * | \\ // - * | \\======// - * VISUAL-LINE - */ - +/** definition of mode tree structure */ Mode vis_modes[] = { [VIS_MODE_BASIC] = { .name = "BASIC", |
