Request: make text insert atomic for undo/redo and repeating
When I use paredit (in Clojure), my insertions of text seem to be broken up into multiple commands, as evidenced by the behavior of undo/redo and repeating (i.e. the
For example, I enter insert mode and insert the following text:
(def foo (+ 1 2))
...then escape back to normal mode. If I then hit
., I would expect the same text to be inserted again, but instead, only
+ 1 2 is inserted. In a similar vein, I have to hit
u (undo) 3 times to fully undo my insert.
- There is a plugin at repeat.vim which the author of this script might find useful for that, although it requires remapping "
.". JohnBeckett (talk) 05:16, February 26, 2014 (UTC)