<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Vim and TextMate</title>
	<atom:link href="http://blog.xbsd.org/2005/10/27/vim-and-textmate/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.xbsd.org/2005/10/27/vim-and-textmate/</link>
	<description>(Mostly) Technical Blog</description>
	<pubDate>Fri, 21 Nov 2008 19:48:18 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
		<item>
		<title>By: Kevin</title>
		<link>http://blog.xbsd.org/2005/10/27/vim-and-textmate/#comment-136</link>
		<dc:creator>Kevin</dc:creator>
		<pubDate>Fri, 30 Dec 2005 19:28:03 +0000</pubDate>
		<guid isPermaLink="false">http://blog.xbsd.org/?p=30#comment-136</guid>
		<description>Well, I put the script in ~/.vim/plugin, and then in my .vimrc file put:

Iabbr inc #include "?file?.h"^M??

Then started a blank file and got an error:

[kold@kold ~]$ vi kdotest.txt
Error detected while processing /home/kold/.vimrc:
line   24:
E492: Not an editor command: Iabbr inc #include "?file?.h"^M??

I guess I'm unclear on how the entire thing works.

I understand this to work as a "tag completor", meaning that if I type &lt;b&gt; and hit TAB then it will put &lt;/b&gt; and move the cursor back 4 spaces so that I can fill in the tag.

I found something similar here:

http://www.fngtps.com/2005/12/textmate-addi-c-tions

I think what I need to do can be accomplished by defining a lot of imap definitions.

Feel free to contact me directly at kevinold@gmail.com</description>
		<content:encoded><![CDATA[<p>Well, I put the script in ~/.vim/plugin, and then in my .vimrc file put:</p>
<p>Iabbr inc #include &#8220;?file?.h&#8221;^M??</p>
<p>Then started a blank file and got an error:</p>
<p>[kold@kold ~]$ vi kdotest.txt<br />
Error detected while processing /home/kold/.vimrc:<br />
line   24:<br />
<span class="caps">E492</span>: Not an editor command: Iabbr inc #include &#8220;?file?.h&#8221;^M??</p>
<p>I guess I&#8217;m unclear on how the entire thing works.</p>
<p>I understand this to work as a &#8220;tag completor&#8221;, meaning that if I type <b> and hit <span class="caps">TAB</span> then it will put </b> and move the cursor back 4 spaces so that I can fill in the tag.</p>
<p>I found something similar here:</p>
<p><a href="http://www.fngtps.com/2005/12/textmate-addi-c-tions" rel="nofollow">http://www.fngtps.com/2005/12/textmate-addi-c-tions</a></p>
<p>I think what I need to do can be accomplished by defining a lot of imap definitions.</p>
<p>Feel free to contact me directly at <a href="mailto:kevinold@gmail.com">kevinold@gmail.com</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Florent Thoumie</title>
		<link>http://blog.xbsd.org/2005/10/27/vim-and-textmate/#comment-135</link>
		<dc:creator>Florent Thoumie</dc:creator>
		<pubDate>Mon, 19 Dec 2005 13:20:30 +0000</pubDate>
		<guid isPermaLink="false">http://blog.xbsd.org/?p=30#comment-135</guid>
		<description>Well, tell me what you've done and I'll tell you what you've missed / done wrong.

IIRC, I just put the script in ~/.vim/plugin, create a ~/.vim/ftplugin/c.vim with appropriate Iabbr lines and set those variables :

let g:snip_start_tag = "?"
let g:snip_end_tag = "?"
let g:snip_elem_delim = ":"</description>
		<content:encoded><![CDATA[<p>Well, tell me what you&#8217;ve done and I&#8217;ll tell you what you&#8217;ve missed / done wrong.</p>
<p><span class="caps">IIRC</span>, I just put the script in ~/.vim/plugin, create a ~/.vim/ftplugin/c.vim with appropriate Iabbr lines and set those variables :</p>
<p>let g:snip_start_tag = &#8220;?&#8221;<br />
let g:snip_end_tag = &#8220;?&#8221;<br />
let g:snip_elem_delim = &#8220;:&#8221; </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin</title>
		<link>http://blog.xbsd.org/2005/10/27/vim-and-textmate/#comment-134</link>
		<dc:creator>Kevin</dc:creator>
		<pubDate>Fri, 16 Dec 2005 19:32:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.xbsd.org/?p=30#comment-134</guid>
		<description>Hi, just wondering if you got this to work.  I've tried to get it to work, but the docs aren't very friendly.

Any help would be great!

Kevin</description>
		<content:encoded><![CDATA[<p>Hi, just wondering if you got this to work.  I&#8217;ve tried to get it to work, but the docs aren&#8217;t very friendly.</p>
<p>Any help would be great!</p>
<p>Kevin</p>
]]></content:encoded>
	</item>
</channel>
</rss>
