tpope / vim-repeat

repeat.vim: enable repeating supported plugin maps with "."
http://www.vim.org/scripts/script.php?script_id=2136
2.59k stars 81 forks source link

Allow customizing all mappings #12

Closed inkarkat closed 11 years ago

inkarkat commented 11 years ago

f1d0fbbdf4d77b73ba47146bada375223b3d733a allowed customizing the . mapping by making the implementation function publicly accessible. Let's do the same to s:wrap(), so that the other mappings (u, U, <C-R>) can be extended, too.

(Personally, I'd like to have undo / redo stop and beep at the last saved position, to avoid that I accidentally undo beyond the saved state even though I didn't intend to.)

tpope commented 10 years ago

Someone just emailed and asked why I closed this and I ... don't remember. Did we render this moot? Did I fat finger away something useful?

inkarkat commented 10 years ago

I still have this / need this in my personal fork; others may also have a need to extend the plugin. I don't remember how I felt when you closed this, but I know that you're quite picky when it comes to patches. I'm still in favor of adding this. Come on, it adds just 11 bytes :-)

tpope commented 10 years ago

Oh, I see, I did merge it back when I closed it.

Rejection and silence are both classic tpope moves, but not at the same time!