<?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: How to remap the &amp;lt;TAB&amp;gt; key in vi ? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-remap-the-lt-tab-gt-key-in-vi/m-p/2596253#M874522</link>
    <description>I think you need &lt;BR /&gt;tab 4.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;See man vi and ex</description>
    <pubDate>Wed, 17 Oct 2001 09:59:37 GMT</pubDate>
    <dc:creator>Carlos Fernandez Riera</dc:creator>
    <dc:date>2001-10-17T09:59:37Z</dc:date>
    <item>
      <title>How to remap the &lt;TAB&gt; key in vi ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-remap-the-lt-tab-gt-key-in-vi/m-p/2596252#M874521</link>
      <description>How do I disable (or remap to 4 spaces) the tab key in vi insert mode?&lt;BR /&gt;&lt;BR /&gt;I've tried various combinations in .exrc, like&lt;BR /&gt;&lt;BR /&gt; map!  &lt;HT&gt; "    "&lt;BR /&gt;&lt;BR /&gt;None of them work.&lt;/HT&gt;</description>
      <pubDate>Wed, 17 Oct 2001 09:32:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-remap-the-lt-tab-gt-key-in-vi/m-p/2596252#M874521</guid>
      <dc:creator>Graham Cameron_1</dc:creator>
      <dc:date>2001-10-17T09:32:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to remap the &lt;TAB&gt; key in vi ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-remap-the-lt-tab-gt-key-in-vi/m-p/2596253#M874522</link>
      <description>I think you need &lt;BR /&gt;tab 4.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;See man vi and ex</description>
      <pubDate>Wed, 17 Oct 2001 09:59:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-remap-the-lt-tab-gt-key-in-vi/m-p/2596253#M874522</guid>
      <dc:creator>Carlos Fernandez Riera</dc:creator>
      <dc:date>2001-10-17T09:59:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to remap the &lt;TAB&gt; key in vi ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-remap-the-lt-tab-gt-key-in-vi/m-p/2596254#M874523</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;tab key can be manipulated with the tabstop setting:&lt;BR /&gt;&lt;BR /&gt;in .exrc add entry:&lt;BR /&gt;set tabstop=#&lt;BR /&gt;&lt;BR /&gt;where # is the new value (default is 8)&lt;BR /&gt;&lt;BR /&gt;OR&lt;BR /&gt;&lt;BR /&gt;in vi type ie:&lt;BR /&gt;&lt;BR /&gt;:set tabstop=4&lt;BR /&gt;&lt;BR /&gt;Regards</description>
      <pubDate>Wed, 17 Oct 2001 11:52:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-remap-the-lt-tab-gt-key-in-vi/m-p/2596254#M874523</guid>
      <dc:creator>Andreas Voss</dc:creator>
      <dc:date>2001-10-17T11:52:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to remap the &lt;TAB&gt; key in vi ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-remap-the-lt-tab-gt-key-in-vi/m-p/2596255#M874524</link>
      <description>vi&lt;BR /&gt;:set all&lt;BR /&gt;&lt;BR /&gt;   &lt;BR /&gt;noautoindent        mesg                                noslowopen   &lt;BR /&gt;autoprint           nomodelines                         tabstop=8     &lt;BR /&gt;noautowrite         nonumber                            taglength=0 &lt;BR /&gt;nobeautify          nonovice                            tags=tags /usr/lib/tags &lt;BR /&gt;directory=/var/tmp  nooptimize                          tagstack                &lt;BR /&gt;nodoubleescape      paragraphs=IPLPPPQPP LIpplpipnpbp   term=ansi &lt;BR /&gt;noedcompatible      prompt                              noterse                        &lt;BR /&gt;noerrorbells        noreadonly                          timeout                          &lt;BR /&gt;noexrc              redraw                              timeoutlen=500                  &lt;BR /&gt;flash               remap                               ttytype=ansi                        &lt;BR /&gt;hardtabs=8          report=5                            warn                               &lt;BR /&gt;noignorecase        scroll=16                           window=32                    &lt;BR /&gt;keyboardedit        sections=NHSHH HUuhsh+c             wrapscan        &lt;BR /&gt;keyboardedit!       shell=/sbin/sh                      wrapmargin=0              &lt;BR /&gt;nolisp              shiftwidth=8                        nowriteany                       &lt;BR /&gt;nolist              noshowmatch                                                            &lt;BR /&gt;magic               noshowmode                                                                                                                                                           &lt;BR /&gt;See man ex for&lt;BR /&gt;&lt;BR /&gt;set hardtabs, tags, b</description>
      <pubDate>Wed, 17 Oct 2001 11:55:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-remap-the-lt-tab-gt-key-in-vi/m-p/2596255#M874524</guid>
      <dc:creator>Carlos Fernandez Riera</dc:creator>
      <dc:date>2001-10-17T11:55:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to remap the &lt;TAB&gt; key in vi ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-remap-the-lt-tab-gt-key-in-vi/m-p/2596256#M874525</link>
      <description>Thanks guys but that doesn't fix my problem, probably my explanation was poor.&lt;BR /&gt;I want to prevent TAB (ie control-I) characters getting into my files in the first place.&lt;BR /&gt;All that "set tabstop" does is to set how many spaces are used to display each TAB. &lt;BR /&gt;"set hardtabs" seems to do the same, and I&lt;BR /&gt;can find no "tab 4" in any man page.&lt;BR /&gt;&lt;BR /&gt;To see what I mean, run up vi and say&lt;BR /&gt;:set list&lt;BR /&gt;Go into insert mode and hit the TAB character a few times. What you will see is ^I^I^I...&lt;BR /&gt;What I want is spaces, not tabs.&lt;BR /&gt;&lt;BR /&gt;Graham</description>
      <pubDate>Wed, 17 Oct 2001 13:27:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-remap-the-lt-tab-gt-key-in-vi/m-p/2596256#M874525</guid>
      <dc:creator>Graham Cameron_1</dc:creator>
      <dc:date>2001-10-17T13:27:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to remap the &lt;TAB&gt; key in vi ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-remap-the-lt-tab-gt-key-in-vi/m-p/2596257#M874526</link>
      <description>Hello Graham,&lt;BR /&gt;&lt;BR /&gt;I am pretty certain that you cannot do that with good old vi! Since Bill Joy has used "white space" as delimiter for the definition of mappings, and TAB and SPACE are, the only chance would be a "post-processing" of your file after saveing it. Then you would use some script for this (none does exist - you will have to it in perl or awk or such).&lt;BR /&gt;&lt;BR /&gt;Sorry,&lt;BR /&gt;Wodisch</description>
      <pubDate>Wed, 17 Oct 2001 14:09:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-remap-the-lt-tab-gt-key-in-vi/m-p/2596257#M874526</guid>
      <dc:creator>Wodisch</dc:creator>
      <dc:date>2001-10-17T14:09:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to remap the &lt;TAB&gt; key in vi ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-remap-the-lt-tab-gt-key-in-vi/m-p/2596258#M874527</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I'm not a master of vi, but have you tried to map TAB to somethink like 4 * insert space? If I remember right, you can do:&lt;BR /&gt;&lt;BR /&gt;:&lt;N&gt; command&lt;BR /&gt;&lt;BR /&gt;that repeats the command &lt;N&gt; times.&lt;BR /&gt;&lt;BR /&gt;E.&lt;/N&gt;&lt;/N&gt;</description>
      <pubDate>Thu, 18 Oct 2001 06:04:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-remap-the-lt-tab-gt-key-in-vi/m-p/2596258#M874527</guid>
      <dc:creator>Eugen Cocalea</dc:creator>
      <dc:date>2001-10-18T06:04:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to remap the &lt;TAB&gt; key in vi ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-remap-the-lt-tab-gt-key-in-vi/m-p/2596259#M874528</link>
      <description>Thanks for all your help.&lt;BR /&gt;&lt;BR /&gt;Wodisch came closest in confirming it cannot be done. &lt;BR /&gt;&lt;BR /&gt;I guess I will have to continue, as before, with, in my .exrc file:&lt;BR /&gt;&lt;BR /&gt;set shiftwidth=4 tabstop=4&lt;BR /&gt;map  ^T   :1,$ s/   /    /g&lt;BR /&gt;&lt;BR /&gt;(Where the first string is the tab character and the second is 4 spaces)&lt;BR /&gt;and then get all my users to remember to type ^T before exit. &lt;BR /&gt;Or write a wrapper.&lt;BR /&gt;&lt;BR /&gt;Thanks again.</description>
      <pubDate>Thu, 18 Oct 2001 06:40:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-remap-the-lt-tab-gt-key-in-vi/m-p/2596259#M874528</guid>
      <dc:creator>Graham Cameron_1</dc:creator>
      <dc:date>2001-10-18T06:40:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to remap the &lt;TAB&gt; key in vi ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-remap-the-lt-tab-gt-key-in-vi/m-p/2596260#M874529</link>
      <description>Do you know cb command?</description>
      <pubDate>Thu, 18 Oct 2001 08:05:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-remap-the-lt-tab-gt-key-in-vi/m-p/2596260#M874529</guid>
      <dc:creator>Carlos Fernandez Riera</dc:creator>
      <dc:date>2001-10-18T08:05:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to remap the &lt;TAB&gt; key in vi ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-remap-the-lt-tab-gt-key-in-vi/m-p/2596261#M874530</link>
      <description>You need not worry about tabs while editing. After you finish eidting and come out of vi, you can use unix command "expand" to expand the tabs to spaces. see man expand&lt;BR /&gt;hope this helps.</description>
      <pubDate>Thu, 18 Oct 2001 11:32:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-remap-the-lt-tab-gt-key-in-vi/m-p/2596261#M874530</guid>
      <dc:creator>Suhas_3</dc:creator>
      <dc:date>2001-10-18T11:32:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to remap the &lt;TAB&gt; key in vi ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-remap-the-lt-tab-gt-key-in-vi/m-p/2596262#M874531</link>
      <description>If you are using vim, you coud:&lt;BR /&gt;&lt;BR /&gt;:set expandtab</description>
      <pubDate>Fri, 23 Jul 2004 15:03:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-remap-the-lt-tab-gt-key-in-vi/m-p/2596262#M874531</guid>
      <dc:creator>Nathan Coulter</dc:creator>
      <dc:date>2004-07-23T15:03:58Z</dc:date>
    </item>
  </channel>
</rss>

