<?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: vi settings in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-settings/m-p/4113353#M726656</link>
    <description>I have tried erasing $HOME/.exrc and now both vi &amp;amp; vim works fine for me (about pasting formatted text).&lt;BR /&gt;&lt;BR /&gt;I have already installed vim, but using source code instead of depot.&lt;BR /&gt;&lt;BR /&gt;Thank you very much.</description>
    <pubDate>Fri, 07 Dec 2007 14:14:01 GMT</pubDate>
    <dc:creator>ertraccia</dc:creator>
    <dc:date>2007-12-07T14:14:01Z</dc:date>
    <item>
      <title>vi settings</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-settings/m-p/4113350#M726653</link>
      <description>Hi everyone,&lt;BR /&gt;&lt;BR /&gt;I usually work with vim on 11.23 and I type everytime ":set paste" to enable the correct paste of formatted text in vim.&lt;BR /&gt;&lt;BR /&gt;I found out that the same command is not available in the default HP-UX vi editor.&lt;BR /&gt;&lt;BR /&gt;Someone knows if it's possible pasting formatted text into vi?</description>
      <pubDate>Fri, 07 Dec 2007 12:30:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-settings/m-p/4113350#M726653</guid>
      <dc:creator>ertraccia</dc:creator>
      <dc:date>2007-12-07T12:30:25Z</dc:date>
    </item>
    <item>
      <title>Re: vi settings</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-settings/m-p/4113351#M726654</link>
      <description>vim is a vi lookalike but with many enhancements. All the options that can be set are listed in the ex man page under Editor options. vi is a full screen wrapper for the ex editor, thus the interaction between the two. The ":" character is the link between the two.&lt;BR /&gt; &lt;BR /&gt;To set new default values for vi, create the file: $HOME/.exrc where you can change many different features. Here are some popular ones:&lt;BR /&gt; &lt;BR /&gt;set nows ic autoindent autowrite wrapmargin=2set sh=/usr/bin/sh report=1 showmode&lt;BR /&gt; &lt;BR /&gt;Depending on the terminal emulator you are using, you can even assign an action to the function keys using the map keyword.  Here are a couple of useful commands:&lt;BR /&gt; &lt;BR /&gt;map   #1  :set noai wm=0&lt;BR /&gt;map   #2  !}exec adjust -m60&lt;BR /&gt;map   #3  !}exec adjust -m72&lt;BR /&gt; &lt;BR /&gt;The f1 key (#1 above) turns off the automatic indent feature and also turns off the wrap-margin (split by word at end of line) feature. The f2 and f3 keys will take the current line and following text to a paragraph break and adjust (based on trailing words) the right margin to less than or equal to 60 or 72 characters. This is done by piping the paragraph into the adjust program.&lt;BR /&gt; &lt;BR /&gt;Note that 'formatted' text is not really meaningful for a plain ASCII editor. tabs are about the only formatting option and even these depend on a display or printer that agrees on where the tab stops are located.</description>
      <pubDate>Fri, 07 Dec 2007 12:46:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-settings/m-p/4113351#M726654</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2007-12-07T12:46:11Z</dc:date>
    </item>
    <item>
      <title>Re: vi settings</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-settings/m-p/4113352#M726655</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;you can as well install vim.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://hpux.connect.org.uk/hppd/hpux/Editors/vim-7.1/" target="_blank"&gt;http://hpux.connect.org.uk/hppd/hpux/Editors/vim-7.1/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Do not forget to check for all the dependencies:&lt;BR /&gt;&lt;BR /&gt;atk cairo expat fontconfig freetype gettext glib2 gtk+2 jpeg libXft libXrender libiconv libpng ncurses pango tiff zlib &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;hope this helps!&lt;BR /&gt;kind regards&lt;BR /&gt;yogeeraj</description>
      <pubDate>Fri, 07 Dec 2007 12:48:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-settings/m-p/4113352#M726655</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2007-12-07T12:48:54Z</dc:date>
    </item>
    <item>
      <title>Re: vi settings</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-settings/m-p/4113353#M726656</link>
      <description>I have tried erasing $HOME/.exrc and now both vi &amp;amp; vim works fine for me (about pasting formatted text).&lt;BR /&gt;&lt;BR /&gt;I have already installed vim, but using source code instead of depot.&lt;BR /&gt;&lt;BR /&gt;Thank you very much.</description>
      <pubDate>Fri, 07 Dec 2007 14:14:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-settings/m-p/4113353#M726656</guid>
      <dc:creator>ertraccia</dc:creator>
      <dc:date>2007-12-07T14:14:01Z</dc:date>
    </item>
  </channel>
</rss>

