This tip:

http://vim.wikia.com/wiki/Change_end-of-line_format_for_dos-mac-unix

mentions the ability to enter a CR character (^M) on the command line
by typing <C-K><Enter><Enter>.

It works, but I'm a little confused as to why. I would expect <C-K>CR
to insert a ^M, because that is the defined digraph. This works as
expected. I would expect <C-K><Enter> to insert <CR> (the 4 literal
characters) as defined for "special keys" in :help c_CTRL-K. This does
nothing, though <C-K><S-Enter> does insert a literal "<S-CR>". I
certainly don't understand why <C-K><Enter><Enter> inserts the ^M
character.

What's going on?


--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to