Monday, April 2, 2018

Re: feedkeys \ Enter key

Le dimanche 1 avril 2018 13:14:41 UTC+2, Christian Brabandt a écrit :
> On So, 01 Apr 2018, Ni Va wrote:
>
> > It results in that, I think double quote is needed to embrace call feedkey and
> > inside double single quote ''
> >
> > "D:/Logiciels/Vim/feedkeys(:WEATHER/" Illegal file name
> > Error detected while processing command line:
>
> Quoting on the command line in Windows is nasty. I suggest to put the
> command into a vim script file and source that using the -u command line
> or similar.
>
> Best,
> Christian
> --
> Bescheidenheit ist die zarte Kunst, deinen Charme zu erhöhen, indem du
> vorgibst, seiner nicht gewahr zu sein.
> -- Oliver Herford

Ok thank you.

Best mapping I have done is that one even if I have to enter <Enter> key

nnoremap <F5> :!start gvim -c "call feedkeys(':WEATHER')"<cr>

--
--
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: