Friday, January 20, 2012

How does work in gvim?

Someone just posted a question to superuser in which they mentioned
discovering that Shift-Enter is the same as Ctrl-F. I experimented
a little and discovered that that's true, but only in gvim, not
vim, and it's not documented anywhere that I could find, searching
for "shift.enter", "s.enter", or "s.cr".

It's not a mapping, as ":map <S-CR>" doesn't show anything and it
works when gvim is started as "gvim -N -u NONE".

My keyboard, using either GNOME Terminal or xterm with vim, doesn't
seem to generate anything special for Shift-Enter, just ^M. I guess
that's why it doesn't work with vim.

I experimented on a Linux system, but I see that it behaves the same
in gvim on Windows.

Is there some reason that this isn't documented, or am I just not
able to find it?

Regards,
Gary

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

No comments: