Sunday, December 11, 2011

How to put a character the statusline?

I know how to put the decimal and hex equivalent of the character
under the cursor in the statusline:

set statusline+=%b " decimal byte '98'
set statusline+=\x%02B " hex byte 'x62'

How to put the character itself in the statusline?

-Bill

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