On 20/04/10 16:29, Jean Johner wrote:
On Apr 19, 1:57 am, Tony Mechelynck<[email protected]>
wrote:

- Showing the<>  key name after Ctrl-V followed by hitting a key is
specific to gvim: in console mode you see the actual characters passed
by the terminal interface. To see the<>  name (of a non-printable key)
in the terminal you must use Ctrl-K instead (this works also in gvim

Hi Tony,

CTRL-K, SHIFT-Space in insert mode should show<S-Space>  according to
help.

It does so when using gvim (all systems) and vim on a windows console
terminal (except for the<C-PageUp>,<C-PageDown,<C-Up>,<C-Down>
keys, see above).

For vim launched from a gnome terminal or from a KDE Konsole terminal,
it does not work (shows the escape sequence instead).

Does it work on your system (Linux with gnome environment if I
remember well).

Best regards

Jean Johner


Sorry to have left you waiting this long.

Are you sure you are using Ctrl-K and not Ctrl-V or Ctrl-Q? Ctrl-K (followed by one non-printing key) should show the <> representation (and for me it does, at least when the key is not hijacked before Vim gets it); Ctrl-V (or Ctrl-Q if you use Ctrl-V to paste) shows the <> representation in gvim, but in Console Vim it shows the raw keycodes Vim got from the keyboard driver or terminal.

My Vim is compiled with GTK2/Gnome2 GUI. I have both Gnome and KDE installed. ATM my window manager is a Gnome one (Metacity, I think) but only because I find the KDE4 WM ugly. As console terminals I use KDE konsole, the Linux "pure-text" console (on Ctrl-Alt-F2 to Ctrl-Alt-F6, come back to X with Ctrl-Alt-F7), or sometimes (rarely) xterm or mlterm.


Best regards,
Tony.
--
There once was a plumber from Leigh,
Who was plumbing his maid by the sea,
        Said she, "Please stop plumbing,
        I think someone's coming!"
Said he, "Yes I know love, it's me."

Best regards,
Tony.
--
Everything is controlled by a small evil group to which, unfortunately,
no one we know belongs.

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

Reply via email to