Thursday, June 24, 2010

Re: Feature Request...

On Thu, June 24, 2010 4:53 pm, Jens-Wolfhard Schicke wrote:
> I disagree, and propose to use "_" for this feature. (Yes I know it'll
> break some scripts...)

Write a map to do that:

nnoremap <silent> <expr> _ GetChar()

fun! GetChar()
let a=getchar()
if a=~128
return ""
else
let a=nr2char(a)
return "i" . a . "\e" . (a=="\r" ? "" : "l")
endif
endfun

regards,
Christian

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

Post a Comment