<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<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>Geek stuff follows</description>
	<lastBuildDate>Tue, 07 Dec 2010 16:30:30 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Kevin</title>
		<link>http://blog.xbsd.org/2005/10/27/vim-and-textmate/comment-page-1#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 &quot;?file?.h&quot;^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 &quot;?file?.h&quot;^M??

I guess I&#039;m unclear on how the entire thing works.

I understand this to work as a &quot;tag completor&quot;, 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-page-1#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&#039;ve done and I&#039;ll tell you what you&#039;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 = &quot;?&quot;
let g:snip_end_tag = &quot;?&quot;
let g:snip_elem_delim = &quot;:&quot;</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-page-1#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&#039;ve tried to get it to work, but the docs aren&#039;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>

