Questions tagged [snipmate]

Snipmate is a vim script that implements some of TextMate's snippets features in Vim.

Snipmate is a vim script that implements some of TextMate's snippets features in Vim. A snippet is a piece of often-typed text that you can insert into your document using a trigger word followed by a "Tab"

96 questions
0
votes
1 answer

Vim Snipmate or Plugin to Autocomplete PHP Object Syntax

Is there a plugin or snippet that I can use to automcomplete -> or => by pressing - or = + tab? I just can't stand typing > all the time. I tried creating the following snippets for snipmate, but they don't work because - and = are affixed to the…
Bryan
  • 17,201
  • 24
  • 97
  • 123
0
votes
1 answer

Installing Snipmate with Pathogen vim

I attempted to install Snipmate in vim via Pathogen, by: cd ~/Dropbox/vim/bundle git clone https://github.com/garbas/vim-snipmate cd vim-snipmate git clone https://github.com/honza/vim-snippets.git (My vim repository is in Dropbox, with my ~/.vimrc…
dzy
  • 171
  • 2
  • 8
0
votes
1 answer

Tab key no longer triggers autocomplete for vim sninpmate snippets

after long hours of vim configuration, I found out that I broke the snipmate plugin. Hitting the tab key no longer works. Any experiences? 'Yeap I know there are million reasons why it might be broken, but was hoping others have experienced it…
tawheed
  • 5,565
  • 9
  • 36
  • 63
0
votes
1 answer

Vim-snipmate doesn't expand snippet instead it removes the trigger

Using Vim-snipmate(garbas vim-snipmate fork) on Windows 7 and Vim 7.3.107 I have the following problem. If I press tab in the indicated position (example in java script): var foo = function() { var fum = 0; for }; I end up…
-1
votes
1 answer

snipmate: comments in snippet

How to add a comment in a snippet of the form snippet function /* * === FUNCTION ===================================== * Name: ${1:name} * Description: ${2:description} *…
pawel_winzig
  • 902
  • 9
  • 28
-1
votes
2 answers

SnipMate in Vim on Windows

What is wrong with my install of snipMate? I cannot get it to work. I even tried installing Pathogen as noted in the other answer. I am running vim7.4 on a windows XP. The _vimrc is noted below - set nocompatible set textwidth=80 set…
shparekh
  • 820
  • 10
  • 20
1 2 3 4 5 6
7