Fwd: Where to submit a patch/modification for consideration?
- I seem to be having trouble with the subscription confirmation to
vim-dev, so I'll post this here for now.
---------- Forwarded message ----------
From: Eric Arnold <eric.p.arnold@...>
Date: May 5, 2006 6:35 AM
Subject: Where to submit a patch/modification for consideration?
I think vim-dev@... is probably a place to start...
I've been hacking the statusline for a long time to do various things
a keystroke at a time. I've finally got a compiling env, so I decided
to take a stab a creating a key-event.
The following test script should give an idea of what it's about:
let g:counter = 0
let g:counter += 1
echomsg '(' . nr2char(v:getchar) . ')getchar #' . g:counter
\ . ', ' . v:getchartype
" Test discard:
if nr2char(v:getchar) == '~'
let v:getchar = char2nr("")
" Test replace:
if nr2char(v:getchar) == '!'
let v:getchar = char2nr("#")
au GetChar <buffer> call Tst()
" Note: mixing 't' and 'm', etc. keys causes KeyStuffed and KeyTyped to get
call feedkeys(':echo "macroing"', 't' )
call feedkeys(':echo "feeding"', 't' )
normal :echo "normaling"
"let c = 0
"while c != 27
" let c = getchar()
" echomsg 'got('.c.')=('.strtrans(nr2char(c)).')'