On 8/21/06, Yakov Lerner <[EMAIL PROTECTED]> wrote:

ca grf <C-R>=(getcmdpos() == 1 && getcmdtype() == ':' ? 'grep -i '
.expand("%:f") . Reposition() : 'grf')<CR>

function! Reposition()
    call feedkeys("\<C-Left>\<Left>")
    return ""
endfun

Thanks Yakov! It works.  :)

I still don't understand why ^V^V^M or ^V^V^R don't work, according to
the help book....

:h using_ctrl-v

Ed

Reply via email to