New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Snipmate undo point breaks supertab completion results forward scrolling. #37
Comments
this was a merge of pull request[1] from msanders repo. can you elaborate how "forward scrolling through the completion pop" works? how to reproduce this bug? [1] - msanders#17 |
I remember when this change had a short discussion where at least one user didn't agree with the addition, unfortunately I don't recall where that discussion took place and I didn't know the change affected supertab or I would have raised this issue at that time.
Yeah I generally agree with that advice, but unfortunately both plugins currently default to using tab and most users aren't going to get past the "it doesn't work" stage.
Sure, just start a new buffer with the contents:
Then hit
I don't understand this question. I used the current vim-snipmate head at the time and did a bisect to find at what point vim-snipmate affected supertab's scrolling. I have my own branch of msanders/snipmate that works fine so I knew it must have been a relatively recent addition.
git head (ervandew/supertab@80ec6539e4139a2e0281), but the undo point most likely affects a broad range, if not all, versions. I also tested w/ 0.51 from back in 2009 and the undo break affects that version as well. |
I've got this issue, and at least one other person does too: ervandew/supertab#22 |
I forked and undid the breaking commit so I could use both plugins, but perhaps there is a way to change the mapping in my .vimrc? I'm not entirely sure how to do this without clobbering all the things mapped to , but if there is a way, then a note in the documentation on how to do this would be good. |
i can confirm the problem. happens here as well. |
nblock: lightningdb/vim-snipmate has the breaking change reverted. As mentioned in my comment above, maybe there is a way to override that setting from a vimrc? (so that a fork or fix isn't needed) |
I'm also seeing this issue.. it's very annoying, and would be nice to see fixed. |
I strongly agree with @garbas. I could image a lot of issues in the near future if we try to maintain compatibility between vim-snipmate and supertab. So, it would be a good idea to map the two plugins with different keys. I would like to close the issue too... |
I just want to throw out the fact that snipmate was compatible with supertab almost since its inception 2 and half years ago. It's only been a single 5 character change that has broken that compatibility (a change that taken on its own could be debated). Despite the possibility of conflicts, I like that both supertab and snipmate are mapped to the same key since they both perform completions. So even if snipmate's default mapping where to change, it would be a shame that a user couldn't switch back to |
this is bound to break again as snipmate changes w/out regard for supertab compatability. closes #22 closes garbas/vim-snipmate#37
Wow, it's been a year now with this issue open! Is this undoable or you really don't care? |
Commit 73a7255 (Create undo point before expanding snippet in insert mode.) breaks supertab forward scrolling through the completion pop.
Removing the
<c-g>u
that was introduced to the mapping resolves the issue.The text was updated successfully, but these errors were encountered: