Skip to content
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

why not TAB working when i use the supertab.vim. #17

Closed
noodles-v6 opened this issue Apr 10, 2013 · 5 comments
Closed

why not TAB working when i use the supertab.vim. #17

noodles-v6 opened this issue Apr 10, 2013 · 5 comments

Comments

@noodles-v6
Copy link

No description provided.

@MoyanXiao
Copy link

Do you use Snipmate? This plugin conflicts with supertab and need some
configs.

On Wed, Apr 10, 2013 at 6:45 PM, noodles notifications@github.com wrote:


Reply to this email directly or view it on GitHubhttps://github.com//issues/17
.

Best Wishes.

Moyan Xiao

Shanghai Jiao Tong University(SJTU)

Shanghai, P.R.China

Tel:(+86)137 7430 6506

E-mail : xiaomoyan@gmail.com xiaomoyan@gmail.com

@noodles-v6
Copy link
Author

Do you use Snipmate? This plugin conflicts with supertab and need some

@MoyanXiao
yes, I do. But I haven't got the solution.

@MoyanXiao
Copy link

  1. make sure that the snipmate and supertabe is the latest version
  2. add the following line in the .vimrc:
    let g:SuperTabDefaultCompletionType = "context"

the reason is that snipmate and supertab use the as the mapkey

On Thu, Apr 11, 2013 at 10:32 AM, noodles notifications@github.com wrote:

Do you use Snipmate? This plugin conflicts with supertab and need some

@MoyanXiao https://github.com/MoyanXiao
yes, I do. But I haven't got the solution.


Reply to this email directly or view it on GitHubhttps://github.com//issues/17#issuecomment-16222466
.

Best Wishes.

Moyan Xiao

Shanghai Jiao Tong University(SJTU)

Shanghai, P.R.China

Tel:(+86)137 7430 6506

E-mail : xiaomoyan@gmail.com xiaomoyan@gmail.com

@noodles-v6
Copy link
Author

I got it from http://stackoverflow.com/questions/1687252/with-vim-use-both-snipmate-and-pydiction-together-share-the-tab-key

and there is a code snippet in the after/plugin/snipMate.vim

" This is put here in the 'after' directory in order for snipMate to override
" other plugin mappings (e.g., supertab).
"
" To adjust the tirgger key see (:h snipMate-trigger)
"
if !exists('g:snips_trigger_key')
let g:snips_trigger_key = '< tab>'
endif

@MoyanXiao
Copy link

SnipMate has add support for supertab, it acts as if there is no snipmate
key, it will forward request to supertab. You can refer to the code that
snipmate triggered its key

On Thu, Apr 11, 2013 at 4:16 PM, noodles notifications@github.com wrote:

the code in the after/plugin/snipMate.vim

" This is put here in the 'after' directory in order for snipMate to
override
" other plugin mappings (e.g., supertab).
"
" To adjust the tirgger key see (:h snipMate-trigger)
"
if !exists('g:snips_trigger_key')
let g:snips_trigger_key = '< tab>'
endif


Reply to this email directly or view it on GitHubhttps://github.com//issues/17#issuecomment-16236997
.

Best Wishes.

Moyan Xiao

Shanghai Jiao Tong University(SJTU)

Shanghai, P.R.China

Tel:(+86)137 7430 6506

E-mail : xiaomoyan@gmail.com xiaomoyan@gmail.com

@amix amix closed this as completed Apr 13, 2013
RandyMcMillan pushed a commit to RandyMcMillan/vimrc that referenced this issue Nov 4, 2019
Fix issue pathogen instructions
wyukio pushed a commit to wyukio/vimrc that referenced this issue Nov 17, 2020
wyukio pushed a commit to wyukio/vimrc that referenced this issue Nov 17, 2020
Summary:
... in installation instructions. Thanks to amix#17 for updating Vundle's command to
the latest. This just clarifies a bit in case of confused old Vundle users.

Test Plan: refreshed browser.

Reviewers: xymostech, spicyj

Reviewed By: spicyj

Differential Revision: http://phabricator.benalpert.com/D205
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants