tpope / vim-speeddating

speeddating.vim: use CTRL-A/CTRL-X to increment dates, times, and more
http://www.vim.org/scripts/script.php?script_id=2120
969 stars 40 forks source link

Add support for repeat with "." #41

Closed strottie closed 3 years ago

strottie commented 3 years ago

I often run C-a to increment a number and then use "." to repeat the increment on the same number or a different one. This basic functionality of vim is broken when vim-speeddating is loaded, even if incrementing a simple number.

This issue is to track support for repeating incr/decr action with "."

tpope commented 3 years ago

From the README:

The . command will work as expected if you install repeat.vim.

This might be possible to implement without an external dependency by abusing 'operatorfunc'. I do not have the bandwidth to investigate.