Townk/vim-autoclose — Issue #13: Random closing character insertions
Author: artm
Created: 2011-10-18 07:30:58+00:00
State: open

When typing and editing a lot I often get random closing character inserted all of a sudden. This is very hard to reproduce but it seems to be triggered by motion keys or escape. Therefore I suspect this is caused by flushing the autoclose buffer as part of the redo feature fix. To confirm this I added `let g:AutoClosePreservDotReg == 0` to my `~/.vimrc` and haven't seen the bug yet (but as I say, it's not very reproducible). I don't understand how AutoClosePreservDotReg related code works yet, so I can't find what causes the bug, but I'll give the file a thorough read.

**N.B.** [I work](https://github.com/artm/vim-autoclose) on top of [blueyed branch](https://github.com/blueyed/vim-autoclose), where this functionality is refactored. It could be that the bug is introduced there, but we can't file issues against a fork. And his changes should be merged anyway :-) (see #10)