On 05/01/2011 at 17:28,
AK <[email protected]> wrote:

> It breaks a cmd in a vim function for me:
> 
>   normal $F 4BR100
> 
> the '4B' command instead runs as 'B'
> 
> Any way to fix this?

Hi AK,

Strangely enough, 'normal' doesn't pass the parameter 'v:count' to the mapping.
For instance, taking the example from Vim's eval.txt:

  :map _x :<C-U>echo "the count is " . v:count<CR>

Then, in the native normal mode, typing 3_x will print:

  the count is 3

But 

  :normal 3_x

prints:
  
  the count is 0

I will investigate the issue, thank you for reporting. By the way, ':normal!'
should work as expected (it uses the builtin commands).


Best,

-- 
Douglas A. Augusto

-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to