Sorry for the typo in subject.

On Wed, Oct 28, 2009 at 11:33 AM, anna <[email protected]> wrote:

> Hi,
>
> I found error "E16:Invalid range". This is how to reproduce it.
>
> :function! Foo()
> :echo "foo"
> :endfunction
> :nmap x :call Foo()<CR>
>
> If I input "x" or "2x" in  normal mode, it behaves as expected,
> echoing "foo". However, if input "3x" or greater range, then it throws
> me error E16:Invalid range".
>
> Any advice why this could happen?
> Thank you
>
> Anna

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to