<?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: Set tabstops with special line in vi in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/set-tabstops-with-special-line-in-vi/m-p/4223480#M687079</link>
    <description>Kenan "solution"  is just the command. the trick is to have it issued automatically whenever you open the file.&lt;BR /&gt;&lt;BR /&gt;Paul's solution is better, but changes the defaults for all files.&lt;BR /&gt;&lt;BR /&gt;How can I have tabstop=4 in one file, tabstop=6 in the next, and default settings in all others?&lt;BR /&gt;&lt;BR /&gt;Kind Regards,&lt;BR /&gt;Reinier Kleipool</description>
    <pubDate>Fri, 27 Jun 2008 08:28:01 GMT</pubDate>
    <dc:creator>Rob van Buiten</dc:creator>
    <dc:date>2008-06-27T08:28:01Z</dc:date>
    <item>
      <title>Set tabstops with special line in vi</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/set-tabstops-with-special-line-in-vi/m-p/4223477#M687076</link>
      <description>How can set the tabstops in a document for vi.&lt;BR /&gt;Other editors have a special syntax inside the file-to-edit:&lt;BR /&gt;# :vim:tabstop=4:&lt;BR /&gt;The special line is checked by the editor, and&lt;BR /&gt;any commands on it are executed by vi&lt;BR /&gt;&lt;BR /&gt;Does HP-UX vi have a similar feature?</description>
      <pubDate>Fri, 27 Jun 2008 06:33:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/set-tabstops-with-special-line-in-vi/m-p/4223477#M687076</guid>
      <dc:creator>Rob van Buiten</dc:creator>
      <dc:date>2008-06-27T06:33:08Z</dc:date>
    </item>
    <item>
      <title>Re: Set tabstops with special line in vi</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/set-tabstops-with-special-line-in-vi/m-p/4223478#M687077</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;in vi try :set tabstop=4&lt;BR /&gt;&lt;BR /&gt;Kenan.</description>
      <pubDate>Fri, 27 Jun 2008 06:54:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/set-tabstops-with-special-line-in-vi/m-p/4223478#M687077</guid>
      <dc:creator>Kenan Erdey</dc:creator>
      <dc:date>2008-06-27T06:54:05Z</dc:date>
    </item>
    <item>
      <title>Re: Set tabstops with special line in vi</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/set-tabstops-with-special-line-in-vi/m-p/4223479#M687078</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I think that what you want can find in de file ".exrc" in your home directory.&lt;BR /&gt;&lt;BR /&gt;For example  "set tabstop=4" &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;My file contains this:&lt;BR /&gt;set autowrite wrapmargin=0 report=1 showmode&lt;BR /&gt;set tabstop=4&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Paulus.&lt;BR /&gt;</description>
      <pubDate>Fri, 27 Jun 2008 08:23:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/set-tabstops-with-special-line-in-vi/m-p/4223479#M687078</guid>
      <dc:creator>Paul Ettema</dc:creator>
      <dc:date>2008-06-27T08:23:31Z</dc:date>
    </item>
    <item>
      <title>Re: Set tabstops with special line in vi</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/set-tabstops-with-special-line-in-vi/m-p/4223480#M687079</link>
      <description>Kenan "solution"  is just the command. the trick is to have it issued automatically whenever you open the file.&lt;BR /&gt;&lt;BR /&gt;Paul's solution is better, but changes the defaults for all files.&lt;BR /&gt;&lt;BR /&gt;How can I have tabstop=4 in one file, tabstop=6 in the next, and default settings in all others?&lt;BR /&gt;&lt;BR /&gt;Kind Regards,&lt;BR /&gt;Reinier Kleipool</description>
      <pubDate>Fri, 27 Jun 2008 08:28:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/set-tabstops-with-special-line-in-vi/m-p/4223480#M687079</guid>
      <dc:creator>Rob van Buiten</dc:creator>
      <dc:date>2008-06-27T08:28:01Z</dc:date>
    </item>
    <item>
      <title>Re: Set tabstops with special line in vi</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/set-tabstops-with-special-line-in-vi/m-p/4223481#M687080</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I don't like it to put such information into files - depending on the tool used onto that file (compiler, ...) it may be harmful for further processing.&lt;BR /&gt;I use this solution to set a different tabsize for all files in a directory:&lt;BR /&gt;In ~/.exrc:&lt;BR /&gt;set ts=4&lt;BR /&gt;set exrc&lt;BR /&gt;...&lt;BR /&gt;In .../anydir/.exrc (must be writable by user only):&lt;BR /&gt;set ts=8&lt;BR /&gt;&lt;BR /&gt;mfG Peter&lt;BR /&gt;</description>
      <pubDate>Mon, 30 Jun 2008 11:14:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/set-tabstops-with-special-line-in-vi/m-p/4223481#M687080</guid>
      <dc:creator>Peter Nikitka</dc:creator>
      <dc:date>2008-06-30T11:14:59Z</dc:date>
    </item>
  </channel>
</rss>

