Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7938265
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T22:45:33+00:00 2026-06-03T22:45:33+00:00

I am using vim 7.3 on OSX Lion. I installed snipmate from garbas/vim-snipmate on

  • 0

I am using vim 7.3 on OSX Lion. I installed snipmate from garbas/vim-snipmate on github, and it appears that <tab> doesn’t work in certain places while <c-n> does.

When I try to tab-complete an existing word in the file or if I want to tab-complete something from my ctags list, all I get is spaces being added…but <c-n> works!

If I freely type for<tab>, that does work.

Why is it not completing in some cases but does in others?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T22:45:35+00:00Added an answer on June 3, 2026 at 10:45 pm

    You are confused, <C-n> and Snipmate’s tab-expansion system have nothing to do with each other.

    <C-n> is a built-in shortcut for omnicompletion: it allows you to complete what you are currently typing with other words from the currently opened buffers, and some other sources.

    Snipmate’s <Tab> expands arbitrary stubs into full snippets of code:

    for<Tab>
    

    would give you this in a JS file:

    for (var i = 0; i < Things.length; i++) {
    
    }
    

    It’s not a completion mechanism. If you don’t have a language-specific snippet defined for the few letters you just typed, Snipmate won’t do anything:

    function farting(){
        return "prrt!";
    }
    
    far<Tab>
    

    doesn’t expand anything because you don’t have a far snippet while omnicompletion will complete with ting.

    Because you want your <Tab> to do two unrelated things you will probably need a plugin like SuperTab.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using the system vim (7.2) that comes with mac osx (currently 10.6.7). I'm
I'm using terminal Vim 7.3 on Mac OS X Lion and have the following
I am using vim editor. I learned that shift (and pressing) ~ converts upper
I'm using vim to edit files that use a programming language where the end
I'm using Vim to write text that isn't code, just free form writing. To
I'm using Vim (7.2.445 on Debian Squeeze) with the vim-snipmate plugin (specially this fork
I am using VIM in Windows. The problem is that I want to use
I'm using TextMate in OSX and would love it if I could enable VIM-style
While using Vim (at home and at work), I often find myself doing similar
I am using Vim for windows installed in Unix mode. Thanks to this site

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.