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 8964347
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T16:34:03+00:00 2026-06-15T16:34:03+00:00

Snipmate triples my input. I do the following: template[press tap here] I get an

  • 0

Snipmate triples my input. I do the following:

template[press tap here]

I get an expansion:

template <class T = >
class  {
public:
  () {}
  ~() {}
private:
};

which simply follows the definition in ~/.vim/vim-addons/snipmate-snippets/snippets/cpp.snippets

# template
snippet template
    template <class ${1:T} = ${2}>
    class ${3:`Filename('$3', 'name')`} {
    public:
        $3() {}
        ~$3() {}
    private:
    };

I have no problem with inputting {$1} and {$2} tab stops but when I enter “lala ” for {$3}, i get

template <class T = int>
class lala lala  alal {
public:
  lala  alal() {}
  ~lala  alal() {}
private:
};

snipmate syntax is pretty simple. i’m confused on what i’m doing wrong.

I installed snipmate through VAM

call vam#ActivateAddons(['snipmate-snippets'], {'auto_install' : 0})
  • 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-15T16:34:04+00:00Added an answer on June 15, 2026 at 4:34 pm

    What I write, might be a bit biased, but I don’t see any reason for using snipMate, when there is UltiSnips by SirVer. Don’t get me wrong snipMate is great, or better say – was great, but now it’s just so far behind the UltiSnips plugin.

    Be sure to see screencasts posted in the README of this project – to see the proof of what I said above.

    Good luck.

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

Sidebar

Related Questions

When I'm in an html.erb file, I get no snipMate snippets. I would like
I was not able to get snipMate to work with gvim and then found
I am using the vim-snipmate addon with these snippets . I am currently in
I'm trying to use the Vim snipMate plugin, and I've installed it as it
Whenever I try to use a snippet (using snipMate) after a word, without a
When editing my Rails app, snipMate only seems to load the ruby snippets file
Vim is installed at /usr/share/vim. All snipMate 's folders were added to this category
I am trying to use snipMate and pydiction in vim together - however, both
I'm attempting to use snipMate with sql files, however it doesn't seem to work
When I download the snipMate plugin from github and extract to my .vim directory

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.