You have a very good point there, Jurgen. Somehow now, I have this
uncontrollable urge to go baa-aa-aa at the moon.
On Mon, Jul 20, 2020 at 10:20 PM 'Jürgen Krämer' via vim_use <
vim_use@googlegroups.com> wrote:
> Hi,
>
> Graham Lawrence schrieb am 19.07.2020 um 22:07:
> > :h v:count includes
Hi,
Graham Lawrence schrieb am 19.07.2020 um 22:07:
> :h v:count includes the following example
> |
> map _x :echo "the count is ".v:count
> |
>
> which works as expected, but using
> |
> map :let @n=v:count1...
> |
>
did you really leave out the left-hand-side of the mapping in your .vimrc or is
:h v:count includes the following example
map _x :echo "the count is " . v:count
which works as expected, but using
map :let @n=v:count1 ...
produces E492 etc; and instead I must use
map ;; :exe 'let @n=v:count1' ...
for it to work.
Now I have a number of mappings in alternate .vimrc files