<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Tech-Recipes - Latest Comments in Open vim editor to first occurrence of search term</title><link>http://tech-recipes.disqus.com/</link><description>Cookbook of Tech Tutorials</description><atom:link href="https://tech-recipes.disqus.com/open_vim_editor_to_first_occurrence_of_search_term/latest.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Wed, 24 Mar 2010 15:32:25 -0000</lastBuildDate><item><title>Re: Open vim editor to first occurrence of search term</title><link>http://www.tech-recipes.com/rx/3162/open-vim-editor-to-first-occurrence-of-search-term/#comment-41422394</link><description>&lt;p&gt;This is an awesome tip, too bad you can't make changes to a vi file using this method in a shell script then have it write those changes to the file, at least I can't figure out how to, can make the changes, but file is open in vi and I have to do a :wq manually &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Darryl</dc:creator><pubDate>Wed, 24 Mar 2010 15:32:25 -0000</pubDate></item><item><title>Re: Open vim editor to first occurrence of search term</title><link>http://www.tech-recipes.com/rx/3162/open-vim-editor-to-first-occurrence-of-search-term/#comment-4365203</link><description>&lt;p&gt;it just makes we wonder where these undocumented commands come from!! but its a nice one thanks makes sence really vi +/&amp;lt;search&amp;gt;.  Then I would expect&lt;/p&gt;&lt;p&gt;vi +:g/&amp;lt;old&amp;gt;/s//&amp;lt;new&amp;gt;/g &amp;lt;filename&amp;gt;&lt;/p&gt;&lt;p&gt;To work and it does !!! thanks for the post and the previous comment that has opened a whole new range of possibilites:&lt;/p&gt;&lt;p&gt;~ Merry Christmas and Seasonal Greetings ~~&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">flexinfo</dc:creator><pubDate>Fri, 12 Dec 2008 07:56:52 -0000</pubDate></item><item><title>Re: Open vim editor to first occurrence of search term</title><link>http://www.tech-recipes.com/rx/3162/open-vim-editor-to-first-occurrence-of-search-term/#comment-3355348</link><description>&lt;p&gt;I have&lt;br&gt;Version 1.79 (10/23/96) The CSRG, University of California, Berkeley.&lt;br&gt;running on a&lt;br&gt;SunOS cidermill 5.9 Generic_118558-26 sun4u sparc SUNW,Sun-Blade-100&lt;br&gt;and it works the same.&lt;/p&gt;&lt;p&gt;I was able to search and search/replace.&lt;/p&gt;&lt;p&gt;Can't figure how to execute more than one command from the shell.&lt;br&gt;Anyone know how to execute multiple commands at a time in VI?&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ryan Jordan</dc:creator><pubDate>Tue, 28 Oct 2008 21:04:19 -0000</pubDate></item><item><title>Re: Open vim editor to first occurrence of search term</title><link>http://www.tech-recipes.com/rx/3162/open-vim-editor-to-first-occurrence-of-search-term/#comment-3225838</link><description>&lt;p&gt;Works fine on vi packaged w/Solaris 10&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">nhmeanie</dc:creator><pubDate>Wed, 22 Oct 2008 09:13:58 -0000</pubDate></item><item><title>Re: Open vim editor to first occurrence of search term</title><link>http://www.tech-recipes.com/rx/3162/open-vim-editor-to-first-occurrence-of-search-term/#comment-2947038</link><description>&lt;p&gt;works beautifully!! :)  Thank you!!!! &lt;br&gt;(vi on SCO unix )&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">oz</dc:creator><pubDate>Wed, 08 Oct 2008 17:30:45 -0000</pubDate></item></channel></rss>