diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2016-11-09 22:07:39 +0100 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2016-11-09 22:07:39 +0100 |
| commit | ed0ad11a3c0acc0030d070ee54e95af64ee06516 (patch) | |
| tree | 95b43c642739b9ac60a873b064fbf3d3cd49f330 /vim/operators | |
| parent | 0c6048882bf62a373f30f9ce55ed4fac22d115df (diff) | |
| download | vis-ed0ad11a3c0acc0030d070ee54e95af64ee06516.tar.gz vis-ed0ad11a3c0acc0030d070ee54e95af64ee06516.tar.xz | |
test/vim: test cancelation of `r` command
Diffstat (limited to 'vim/operators')
| -rw-r--r-- | vim/operators/replace/replace.keys | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vim/operators/replace/replace.keys b/vim/operators/replace/replace.keys index 8857e98..ef8b57f 100644 --- a/vim/operators/replace/replace.keys +++ b/vim/operators/replace/replace.keys @@ -3,6 +3,8 @@ t{r<Enter> /* replace space with new line */ 3r= /* replace --- with === */ n /* advance to next match */ . /* repeat */ +r<Escape> /* cancel, should not alter text */ n /* advance to next match */ v2e /* select something in visual mode */ +r<Escape> /* cancel, should not alter text */ r= /* replace selection */ |
