Tuesday, 30 August 2011

vim misc

copy from vim to vim command line:
yank text then
:^r"

execute yanked vim code
yank code then
:@"

" is register

display hex, octal ... of character under cursor
ga

display special characters
:digraphs

insert special character
press ctlr+k plus key from ":digraphs" in insert mode