Am 06.10.2010 19:41, schrieb Britton Kerin:
* It seems to cause problems to use inputdialog() from a plugin at
startup. The following in ~/.vim/after/plugin/test_inputdialog.vim:
call inputdialog("foo?")
shows the problems. For some reason, the prompt appears as
an error message instead of an info message and there is no text
entry widget. Also, vim seems to freeze up before launch and you
need to hit enter in the terminal before and windows appear at all.
you should execute such commands when Vim is ready for user interaction.
:autocmd VimEnter * {cmd}
where {cmd} is
call inputdialog("foo?")
or
call MyFunc()
etc.
(untested)
--
Andy
--
You received this message from the "vim_dev" 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