How to have multiples matches for a snippet in Vim's snipMate plugin (with a dropdown menu) -


Make snippets div to and lt; Div id = "" & gt; Expands as . I want to snippet to show a dropdown menu, where I can choose between div id = "" and div class = "" (after making the second one).

The documentation says:

  Description of snippet trigger snippet # 1 Increase this text snippet trigger Extend details # 2 of the snippet in this text!  

But it effectively opens a small window below where I select a number and then press enter. But is it a way to create a dropdown menu?

No, there is no way to use the current implementation of a popup menu such as to be used for completion You can file a feature request against snipMate and see if the author can change it to do it, but I'm not sure that it would be easy to do.


Comments

Popular posts from this blog

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -