diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2014-09-03 16:22:16 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2014-09-03 16:22:16 +0200 |
| commit | 87ffbb9c0ab201efc3e729876455bc4ca9921124 (patch) | |
| tree | dec19f99e8aee0da2007b80085c3948f0f109744 /main.c | |
| parent | 3ef242ae90ed7c798b83e2765cb721ef64e7516d (diff) | |
| download | vis-87ffbb9c0ab201efc3e729876455bc4ca9921124.tar.gz vis-87ffbb9c0ab201efc3e729876455bc4ca9921124.tar.xz | |
Enable text objects, introduce operator options
Diffstat (limited to 'main.c')
| -rw-r--r-- | main.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -25,9 +25,6 @@ static void line(const Arg *arg); static void find_forward(const Arg *arg); static void find_backward(const Arg *arg); -static Mode *mode; -static Vis *vis; - #include "config.h" static Config *config = &editors[0]; @@ -136,9 +133,10 @@ int main(int argc, char *argv[]) { break; } } - mode = config->mode; + mode_prev = mode = config->mode; setup(); + if (!(vis = vis_new(screen.w, screen.h))) return 1; if (!vis_syntax_load(vis, syntaxes, colors)) |
