<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: using vi editor in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/using-vi-editor/m-p/3652261#M240604</link>
    <description>Yanking is the best way to do it. Otherwise, use Putty as Muthu specified.&lt;BR /&gt;&lt;BR /&gt;A good guide on VI atatched. &lt;BR /&gt;&lt;BR /&gt;-Arun</description>
    <pubDate>Wed, 19 Oct 2005 01:14:23 GMT</pubDate>
    <dc:creator>Arunvijai_4</dc:creator>
    <dc:date>2005-10-19T01:14:23Z</dc:date>
    <item>
      <title>using vi editor</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-vi-editor/m-p/3652250#M240593</link>
      <description>Sirs,&lt;BR /&gt;&lt;BR /&gt;I am using vi editor. Just want to copy 2 or 3 words from a line and want to paste it over some other line or new line in the vi editor.&lt;BR /&gt;&lt;BR /&gt;How to do that ?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Shiv&lt;BR /&gt;</description>
      <pubDate>Tue, 18 Oct 2005 16:05:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-vi-editor/m-p/3652250#M240593</guid>
      <dc:creator>Shivkumar</dc:creator>
      <dc:date>2005-10-18T16:05:04Z</dc:date>
    </item>
    <item>
      <title>Re: using vi editor</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-vi-editor/m-p/3652251#M240594</link>
      <description>Well, if you know how many characters it is, &lt;BR /&gt;just go to the first letter of the string and hit (let's say it's 11 letters):&lt;BR /&gt;&lt;BR /&gt;11x&lt;BR /&gt;&lt;BR /&gt;then go to where you want to paste it, and type:&lt;BR /&gt;&lt;BR /&gt;p&lt;BR /&gt;&lt;BR /&gt;If it's 3 words you want to delete, go to the first letter of the first word and hit:&lt;BR /&gt;&lt;BR /&gt;3dw&lt;BR /&gt;&lt;BR /&gt;then go to where you want to paste it, and type:&lt;BR /&gt;&lt;BR /&gt;p&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 18 Oct 2005 16:11:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-vi-editor/m-p/3652251#M240594</guid>
      <dc:creator>TwoProc</dc:creator>
      <dc:date>2005-10-18T16:11:23Z</dc:date>
    </item>
    <item>
      <title>Re: using vi editor</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-vi-editor/m-p/3652252#M240595</link>
      <description>I want to copy and paste the 2/3 words and Not delete and paste.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Shiv</description>
      <pubDate>Tue, 18 Oct 2005 16:28:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-vi-editor/m-p/3652252#M240595</guid>
      <dc:creator>Shivkumar</dc:creator>
      <dc:date>2005-10-18T16:28:32Z</dc:date>
    </item>
    <item>
      <title>Re: using vi editor</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-vi-editor/m-p/3652253#M240596</link>
      <description>make sure you are in the cursor mode (if not sure, hit escape once or more to make sure)&lt;BR /&gt;&lt;BR /&gt;place your cursor at the beginning of the 3 words you want to copy&lt;BR /&gt;&lt;BR /&gt;type 3dw  (you will see the 3 words disappearing - now three words are in your clip buffer) if you want to keep them there hit "p" (lower case p) immediately.&lt;BR /&gt;&lt;BR /&gt;now move to the beginning of the location you want to 'paste' them to&lt;BR /&gt;&lt;BR /&gt;hit lower case p again&lt;BR /&gt;&lt;BR /&gt;repeat as necessary</description>
      <pubDate>Tue, 18 Oct 2005 16:31:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-vi-editor/m-p/3652253#M240596</guid>
      <dc:creator>Mel Burslan</dc:creator>
      <dc:date>2005-10-18T16:31:20Z</dc:date>
    </item>
    <item>
      <title>Re: using vi editor</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-vi-editor/m-p/3652254#M240597</link>
      <description>I use the 'yank word' feature &lt;BR /&gt;&lt;BR /&gt;Place ther cursor on the 1st character of the 3 words you want to yank.&lt;BR /&gt;&lt;BR /&gt;For 3 words, do '3yw' then move the cursor to where you want the words placed and 'p' to place the words there.&lt;BR /&gt;&lt;BR /&gt;If you are yanking 2 words, '2yw'&lt;BR /&gt;&lt;BR /&gt;The 'p' keystroke is necessary to 'place'.&lt;BR /&gt;&lt;BR /&gt;If you make a mistake, quit the file without saving and try again. To quit without saving.&lt;BR /&gt;&lt;BR /&gt;:q!&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 18 Oct 2005 16:44:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-vi-editor/m-p/3652254#M240597</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2005-10-18T16:44:40Z</dc:date>
    </item>
    <item>
      <title>Re: using vi editor</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-vi-editor/m-p/3652255#M240598</link>
      <description>Or shorter... use 3yw to copy the three words and then move to where you want to paste them and use the p command.</description>
      <pubDate>Tue, 18 Oct 2005 16:46:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-vi-editor/m-p/3652255#M240598</guid>
      <dc:creator>Jeff_Traigle</dc:creator>
      <dc:date>2005-10-18T16:46:33Z</dc:date>
    </item>
    <item>
      <title>Re: using vi editor</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-vi-editor/m-p/3652256#M240599</link>
      <description>Is it possible to copy those 2 words and paste them on existing 2 words on other lines ?</description>
      <pubDate>Tue, 18 Oct 2005 16:55:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-vi-editor/m-p/3652256#M240599</guid>
      <dc:creator>Shivkumar</dc:creator>
      <dc:date>2005-10-18T16:55:52Z</dc:date>
    </item>
    <item>
      <title>Re: using vi editor</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-vi-editor/m-p/3652257#M240600</link>
      <description>Not that I can think of off the top of my head. There's the s command to substitute (presumably 3sw would substitute what you type for 3 words), but you wouldn't be able to paste anything from the buffer then. Best you can probably get is to paste the words you copied and then delete the words you want then to replace.</description>
      <pubDate>Tue, 18 Oct 2005 17:00:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-vi-editor/m-p/3652257#M240600</guid>
      <dc:creator>Jeff_Traigle</dc:creator>
      <dc:date>2005-10-18T17:00:21Z</dc:date>
    </item>
    <item>
      <title>Re: using vi editor</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-vi-editor/m-p/3652258#M240601</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;maybe a search/replace would work perfectly!&lt;BR /&gt;&lt;BR /&gt;:1,$s/new_word/word_to_replaced/g&lt;BR /&gt;&lt;BR /&gt;hope this helps too!&lt;BR /&gt;&lt;BR /&gt;kind regards&lt;BR /&gt;yogeeraj</description>
      <pubDate>Tue, 18 Oct 2005 23:01:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-vi-editor/m-p/3652258#M240601</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2005-10-18T23:01:46Z</dc:date>
    </item>
    <item>
      <title>Re: using vi editor</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-vi-editor/m-p/3652259#M240602</link>
      <description>Use Putty client terminal. It is easy to copy and paste in vi editor as,&lt;BR /&gt;&lt;BR /&gt;Select two words&lt;BR /&gt;Come to new line and press i&lt;BR /&gt;Right click mouse. It will paste it.&lt;BR /&gt;&lt;BR /&gt;To update in other two words with new one then, Press R to change with new words.&lt;BR /&gt;&lt;BR /&gt;hth.</description>
      <pubDate>Wed, 19 Oct 2005 00:59:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-vi-editor/m-p/3652259#M240602</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2005-10-19T00:59:24Z</dc:date>
    </item>
    <item>
      <title>Re: using vi editor</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-vi-editor/m-p/3652260#M240603</link>
      <description>Attaching a quick reference of VI.&lt;BR /&gt;Thought it would be helpful.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;</description>
      <pubDate>Wed, 19 Oct 2005 01:10:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-vi-editor/m-p/3652260#M240603</guid>
      <dc:creator>Bharat Katkar</dc:creator>
      <dc:date>2005-10-19T01:10:47Z</dc:date>
    </item>
    <item>
      <title>Re: using vi editor</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-vi-editor/m-p/3652261#M240604</link>
      <description>Yanking is the best way to do it. Otherwise, use Putty as Muthu specified.&lt;BR /&gt;&lt;BR /&gt;A good guide on VI atatched. &lt;BR /&gt;&lt;BR /&gt;-Arun</description>
      <pubDate>Wed, 19 Oct 2005 01:14:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-vi-editor/m-p/3652261#M240604</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2005-10-19T01:14:23Z</dc:date>
    </item>
  </channel>
</rss>

