On 01/04/2018 11:18, Ni Va wrote:
> Le dimanche 1 avril 2018 11:01:45 UTC+2, Lifepillar a écrit :
>> On 01/04/2018 10:09, Ni Va wrote:
>>> Hi,
>>>
>>> In order to easily test command I have mapped this following.
>>>
>>> feedkeys enters well WEATHER chars but not <Enter> key.
>>>
>>> nnoremap <F5> :!start gvim -c "call feedkeys(':WEATHER\<cr>')"<cr>
>>
>> Surround feedkeys()'s argument in double, not single, quotes.
>>
>> Life.
>
> nnoremap <F5> :!start gvim -c "call feedkeys(":WEATHER\<cr>")"<cr>
>
> gives me error
Try: ... 'call feedkeys(":WEATHER\<cr>")'<cr>
i.e., use single quotes for the outer quoting.
Life.
--
--
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
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment