Andy Wokula wrote:

I want to remap Ctrl-A (normal mode) to do something similar with other
data, e.g.

:nmap <c-a> ciw<c-r>=IncRoman(@-)<cr><esc>

Now if a count is provided this will mess up the text, e.g.
10<c-a> does 10ciw...

What is a good way to catch the count and make it available to the
function call?
One way, using <count>, is shown in:

http://vim.sourceforge.net/tips/tip.php?tip_id=895

Regards,
Chip Campbell

Reply via email to