commit | ef2b5036b3005f1ce15d146dce72379a9834c56d | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Tue Jan 12 22:20:58 2016 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Tue Jan 12 22:20:58 2016 +0100 |
tree | 1fd3cec16a3cc560a1c7d29eff3cfb276c3f4168 | |
parent | 7ae4fbca552c972eb3645ece02a2807e517610d7 [diff] [blame] |
patch 7.4.1089 Problem: Repeating CTRL-A doesn't work. Solution: Call prep_redo_cmd(). (Hirohito Higashi)
diff --git a/src/normal.c b/src/normal.c index 810aabf..ac1a391 100644 --- a/src/normal.c +++ b/src/normal.c
@@ -4227,6 +4227,7 @@ { if (!VIsual_active && cap->oap->op_type == OP_NOP) { + prep_redo_cmd(cap); cap->oap->op_type = cap->cmdchar == Ctrl_A ? OP_NR_ADD : OP_NR_SUB; op_addsub(cap->oap, cap->count1, cap->arg); cap->oap->op_type = OP_NOP;