Hi Marlun! On Fr, 20 Mär 2009, Marlun wrote:
> I'm wondering if it is possible to use the popup menu which is used > by the completion functionality in your own scripts? > > For example I would like to be able to create a script which when the > user hits a key brings up the popup menu with a list of software > licences, let the user select one with the 'j' and 'k' keys and when > he/she hits ENTER the corresponding licence is added to the top of the > file. > > Regards, > > -Martin About what kind of popup-menu are you talking? If you are talking about omnicompletion, you can write your own function that could present you a list of licenses. But I doubt that it is possible to let it insert the license at the top of the file. regards, Christian -- :wq! --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
