diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2015-07-08 11:51:54 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2015-07-08 11:51:54 +0200 |
| commit | 37fcfd0881ffdf99d85388ef6753d0e9e34f36cd (patch) | |
| tree | 68a4c42ea42c4e82f2a0b92c64e0f3ddab52fa2f | |
| parent | 4b405540db0bd96466df4eb5f25228517086cb48 (diff) | |
| download | vis-37fcfd0881ffdf99d85388ef6753d0e9e34f36cd.tar.gz vis-37fcfd0881ffdf99d85388ef6753d0e9e34f36cd.tar.xz | |
vis: make J (join) behave like in vim when given a count
| -rw-r--r-- | vis.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1150,6 +1150,8 @@ static void openline(const Arg *arg) { } static void join(const Arg *arg) { + if (vis->action.count) + vis->action.count--; operator(&(const Arg){ .i = OP_JOIN }); movement(arg); } |
