--- "A.J.Mechelynck" <[EMAIL PROTECTED]> escreveu: > Georg Dahn wrote: > > Hi! > > > > --- "A.J.Mechelynck" <[EMAIL PROTECTED]> wrote: > > These two are V7 only, so: > > if exists("*pumvisible") > inoremap <expr> <Down> pumvisible() ? "\<lt>Down" : "\<lt>C-O>gj" > inoremap <expr> <Up> pumvisible() ? "\<lt>Up" : "\<lt>C-O>gj" > else > inoremap <Down> <C-O>gj > inoremap <Up> <C-O>gk > endif > (...) > > noremap <S-Down> gj > > noremap <S-Up> gk > > inoremap <S-Down> <C-O>gh<C-O>gj > > inoremap <S-Up> <C-O>gh<C-O>gk > > nnoremap <S-Down> gh<C-O>gj > > nnoremap <S-Up> gh<C-O>gk > > > > With these mappings invoking the selection mode works more consistently > with > > above mappings.
This is getting complicated... That's why i suggested a single command that unified all of this, and would not conflict with pop-up menus or anything. __________________________________________________ Fale com seus amigos de graça com o novo Yahoo! Messenger http://br.messenger.yahoo.com/