Monday, October 25, 2010

problem with map in custom vimrc

I have a custom vimrc file with exactly this line:

map <F11> :call libcallnr("gvimfullscreen.dll", "ToggleFullScreen", 0)
<cr>

When I call vim with -u pointed to the path of the custom vimrc,
pressing <F11> does not work.

Output of first four lines of :map

v <C-X> "*d
n <Leader>ihn :IHN<CR>
n <Leader>is :IHS<CR>:A<CR>
n <Leader>ih :IHS<CR>
<F11> :call libcallnr("gvimfullscreen.dll",
"ToggleFullScreen", 0) <cr>

which shows that <F11> did get mapped.

gvimfullscreen.dll is in C:\Program Files\Vim\vim73 folder, which
also contains gvim.exe.
I copied gvimfullscreen.dll to


I have the same line in the default _vimrc in my $HOME, and it works.

How can I debug this?

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

No comments:

Post a Comment