Sunday, March 21, 2010

Re: ?kb in redo-register

> The example is say that you are in normal mode, then type "i1234" followed
> by backspace. Then check the redo-register using "echo @.", we'll get
> "1234?kb".

I get 1234<80>kb, vim-gtk on Kubuntu. 0x80 is a "special" keycode
used by vim internally; "kb" is the termcap code for backspace.

I expect that if you used :put =@. to put the register into a buffer,
then put the cursor on the "?" and type ga, you'll be told 128, Hex
0080, Octal 200. Another one like it is using the "Insert" key to
toggle replace mode, I get <80>kI in @.

Have a look at getchar.c in the vim source if you want to understand
further.

Regards, John

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

To unsubscribe from this group, send email to vim_use+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.

No comments: