MarcWeber / ultisnips

Official Mirror of UltiSnips trunk on LaunchPad. Send pull requests to SirVer/ultisnips!
https://launchpad.net/ultisnips
25 stars 5 forks source link

tab doesn't work correctly #4

Open kebot opened 11 years ago

kebot commented 11 years ago

Just remove my snipmate and install this. It works well when I click tab.

But when I press tab, it doesn't insert tab for me.

updated: just try SirVer's version, everything is ok.

MarcWeber commented 11 years ago
is abused for many different features. You can either make UltiSnip use instead of , or you can patch UltiSnip to behave like snipmate, or you can use to insert a tab, or set sw properly and use ctrl-d ctrl-t and > < mappings to change indentation. The README should also make clear that there are differences to SirVer, focusing on being able to use honza/vim-snippets, focusing on bringing features from snipmate to UltiSnip, such as "completion" menu. If you really care about this behaviour, tell me again, and if multiple people think this is a show stopper I might work on it - I also gladly accept patches :)
leafac commented 11 years ago

I had the same problem and solved it by mapping the trigger key to ctrl+j, instead of tab.

It's not perfect, but works.