Monday, November 25, 2013

Re: How to imap in gvim in windows 8 for vim 7.4?

On Monday, November 25, 2013 7:59:10 AM, Tim Chase wrote:
> On 2013-11-25 07:53, reckoner wrote:
>> Thanks for your response. When I hit <pagedown> it does not show
>> the completion-suggestions. It does nothing, as far as I can tell.
>
> I've tried both on Win32 and on Linux with the same (correc) behavior
> on both. Do you have an actual match it can find? My test was as
> follows:
>
> gvim -u NONE
> ione two three<esc>
> :inoremap <pagedown> <c-n>
> oth<pagedown>
>
> which should create a line with "one two three" on it, create the
> mapping you want, then start typing "th" and use <pagedown> to
> autocomplete it. At least that's what I see and what I would expect
> it to do.
>
> You might also want to check your 'complete' option to see if it's
> pulling completions from the alternate location(s) that you think it
> should.
>
> -tim
>
>
>

Thanks again for your response.

Actually, when I put the mapping in my _vimrc, everything worked!
Evidently, it only did not work
when I tried to do set the mapping interactively. I don't know why.

Thanks again for all your help!

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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: