VIM - how to work with BOTH supertab.vim with snipMate.vim?
Solution 1
Ok i got it working with the scripts linked in the original question.
It turned out that i used supersnipmate, a snipmate fork, that unfortunately removed the builtin supertab support of snipmate.
Also i did use the original supertab hosted on vim.org that did not work with snipmate as well. The linked script on github turned out to be the successor (or continued version) of the old supertab.
Solution 2
I have both working well together.
The only relevant line in my .vimrc is:
let g:SuperTabDefaultCompletionType = "context"
Related videos on Youtube
user2484593
Updated on September 17, 2022Comments
-
user2484593 over 1 year
I have some trouble for my html popup window. First, here is my popup form (unfinished).
<!--Popup add new request --> <a href="#x" class="overlay" id="add_form"></a> <div class="popup"> Request for : <a class="close" href="#close"></a> </div>
And this is the button for popup trigger
<button type="button" onclick="location.href='#add_form'">AddX</button>
What I mean trouble here is I am using address to bring my popup. So when it's already submitted and I press 'Back' button in my browser, the popup form will appear again. Is there any way to prevent this?
-
matthias krull over 13 yearsi have the same problem but the other way round. i only get snipmate to work but not supertab. both work standalone
-
matthias krull over 13 yearswhat version of vim are you using? what OS? What other plugins do you use?
-
-
Grant Weiss almost 11 yearsmy bad, use window.location.replace (url);
-
user2484593 almost 11 yearsThat worked.. Still speechless.. Thanks anyway! Sorry for that minus that you get :(