Re: Re(i)mapping word completion
- * Andrew Pimlott <vim@...> [030802 09:09]:
> > Hi Andrew:Yes!
> > I have done that at times, but it disables word completion.
> > So then - is there a a method whereby I can get Word Completion
> > and at the same time have Emacs-Style navigation in insert mode?
> Forgive me for not knowing exactly the emacs keybinding, but I
> assume you mean something like, let <C-P> and <C-N> move up and down
> a line in insert mode, and let some other key sequences (say, <F9>
> and <F10>) do word completion. You can achieve this with
>That's what I was looking for. Does the trick alright.
> :imap <C-P> <C-O>k
> :imap <C-N> <C-O>j
> :inoremap <F9> <C-P>
> :inoremap <F10> <C-N>
> Use :help to read up on any of this that's unfamiliar.http://www.vim.org/scripts/script.php?script_id=300
> If you want it more emacs-esque, where you type M-x in insert mode
> and then get to type in a function name, I'm sure you can
> approximate this, but I'll let someone else figure out the details.
> > (I have a greater goal here - not sure that it is noble, butHahaha! All we can do is try. Right? Thanks for all your
> > I'm trying to put together a "stealth" method of acquainting
> > students with vim)
> Good luck. ;-)
Tim Johnson <tim@...>