snipmate is the best thing that occurred to the vim

snipmate is the best thing for vim. although we can port the snippets into other editors like sublime (sublime doesn’t have every snippet).

You can get the snipmate for vim through

git clone git://github.com/msanders/snipmate.vim.git
cd snipmate.vim
cp -R * ~/.vim

If you really loved the snipmate and if some snippets in snipmate were not there in your code editor like sublime doesn’t have the shebang snippet. which will somewhat look like..

<snippet>
	<content><![CDATA[
#!/usr/bin/env python
]]></content>
	<tabTrigger>#!</tabTrigger>
	<scope>source.python</scope>
</snippet>

Or if you wanna expand it, you can fork the code in the above mentioned link  and check the code yourself !

although we have the knowledge of creating snippets, we should choose this goodie. because sometimes even if we have the skill we should grab the thing instead of making one.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s