Wednesday, August 17, 2016

Re: use cases for ?

On Wed, Aug 17, 2016 at 2:57 PM, Nikolay Aleksandrovich Pavlov <zyx.vim@gmail.com> wrote:

2016-08-17 11:10 GMT+03:00 Xavier Noria <fxn@hashref.com>:
> I was reading :h key-notation and saw <EOL> which is meant to be a portable newline.
>
> When is <EOL> helpful? Should portable map commands use <EOL> instead of <CR> for example?

It is for help files only. `<EOL>` in rhs of the mapping does exactly
the same thing `<LT>EOL>`, `echo "\<EOL>"` displays `<EOL>`. The only
place where `<EOL>` is special is help file *text*, check `:helpgrep
\c<EOL>`.

Awesome, thanks!
 

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