<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
 "http://www.w3.org/TR/html4/loose.dtd">
<HTML>
 <HEAD>

  <TITLE>Christian J. Robinson: Vim</TITLE>

  <META NAME="Generator" CONTENT="Vim 7.1 (Vi IMproved editor; http://www.vim.org/)">
  <META NAME="Author"    CONTENT="Christian J. Robinson">
  <META NAME="Copyright" CONTENT="Copyright (C) April 20, 2008 Christian J. Robinson">
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">

  <LINK REL="icon"     HREF="/pictures/chris-tiny.png" TYPE="image/png">
  <LINK REV="made"     HREF="mailto:i&#110;&#102;&#121;n&#105;&#116;&#121;&#64;o&#110;&#101;we&#115;&#116;&#46;&#110;e&#116;">
  <LINK REL="Top"      HREF="/index.shtml">
  <LINK REL="Up"       HREF="/programming.shtml">
  <LINK REL="Contents" HREF="/sitemap.shtml">

  <LINK REL="stylesheet" TYPE="text/css" HREF="../main.css">
  <STYLE TYPE="text/css">
   <!--
   UL LI {text-align: justify;}
   :target.footnote {background: #DDEEFF;}
   -->
  </STYLE>

 </HEAD>

 <BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000EE" ALINK="#FF0000" VLINK="#990066">

  <DIV CLASS="key">
   <A HREF="/">Main</A> &rarr; <A HREF="/programming.shtml">Programming</A> &rarr; Vim
  </DIV>

  <H1 ALIGN=CENTER>Christian J. Robinson: Vim</H1>

  <!--#config timefmt=" Last modified: %b %d, %Y - %r " sizefmt="abbrev" -->

  <P>
  Vim stands for <FONT COLOR="#005500"><B>V</B>i <B>IM</B>proved</FONT>.  It
  is a greatly enhanced vi clone which includes
  <A HREF="index_shtml.html">syntax highlighting</A>, scripting, a
  <ACRONYM TITLE="Graphical User Interface">GUI</ACRONYM>, a basic
  <ACRONYM TITLE="Integrated Development Environment">IDE</ACRONYM>,
  <A HREF="../images/vim7-folding.png">folding</A>,
  <A HREF="../images/vim7-split-tabs.png">horizontal and vertical window splits</A>,
  <A HREF="index_shtml.ps">printing</A>, language based smart indenting,
  <A HREF="/c?url=vimfeatures">and more</A>.  The latest version is Vim
  <!--#include file="vimversion" -->.  The official web page for vim is
  <A HREF="/c?url=vim">http://www.vim.org/</A>, where Vim users contribute
  tips, scripts, and so on.
  </P>

  <P>
  Vim 7 includes integrated
  <A HREF="../images/vim7-spellcheck.png">spell checking</A>,
  <A HREF="../images/vim7-split-tabs.png">tabbed windows</A>, undo branches,
  extended VimL (Vim's scripting language) to include arrays and dictionaries
  (named arrays), language based completion, and many other major and minor
  improvements.
  </P>

  <P>
  The code here is distributed under the Vim license, unless otherwise noted.
  See "<A HREF="/c?url=vimlicense" CLASS="keyword">:help license</A>". Most of
  the stuff here requires Vim 7.0 or greater.  Some of these scripts are also
  available on <A HREF="/c?url=vimonlineacct">www.vim.org</A>.
  </P>

  <DIV CLASS="left2col">
   <UL>
    <LI><A HREF="BufClose.vim">BufClose.vim</A> <SPAN CLASS="lastmod">(<!--#flastmod file="BufClose.vim" -->)</SPAN>
    <BR>A command and function to close a buffer in a window without closing the window, resulting in the window being open to a blank buffer.</LI>
    <LI><A HREF="BufOnly.vim">BufOnly.vim</A> <SPAN CLASS="lastmod">(<!--#flastmod file="BufOnly.vim" -->)</SPAN>
    <BR>A command and function to delete all the buffers except the current/named buffer.</LI>
    <LI><A HREF="CharSort.vim">CharSort.vim</A> <SPAN CLASS="lastmod">(<!--#flastmod file="CharSort.vim" -->)</SPAN>
    <BR>Function and mappings to a sort string of characters.</LI>
    <LI><A HREF="ConvertBase.vim">ConvertBase.vim</A> <SPAN CLASS="lastmod">(<!--#flastmod file="ConvertBase.vim" -->)</SPAN>
    <BR>A set of functions to convert numerical bases.  (Includes CovertToBase(), ConvertFromBase() and ConvertBases().)</LI>
    <LI><A HREF="CreateMenuPath.vim">CreatMenuPath.vim</A> <SPAN CLASS="lastmod">(<!--#flastmod file="CreateMenuPath.vim" -->)</SPAN>
    <BR>A function that creates a menu that mirrors a directory tree.</LI>
    <LI><A HREF="GreedyBackspace.vim">GreedyBackspace.vim</A> <SPAN CLASS="lastmod">(<!--#flastmod file="GreedyBackspace.vim" -->)</SPAN>
    <BR>This script will cause your backspace key to delete all the whitespace characters before the cursor when the cursor is on a whitespace character.</LI>
    <LI><A HREF="HTML/">HTML/XHTML Editing</A> <SPAN CLASS="lastmod">(<!--#flastmod file="HTML/index.shtml" -->)</SPAN>
    <BR>This is a set of HTML/XHTML mappings and menus for Vim 6 or later.</LI>
    <LI><A HREF="syntax/mush.vim">mush.vim</A> (syntax folding) <SPAN CLASS="lastmod">(<!--#flastmod file="syntax/mush.vim" -->)</SPAN>
    <BR>Syntax based folding for <ACRONYM TITLE="Multi-User Shared Hallucination">MUSH</ACRONYM>/<ACRONYM TITLE="Multi-User eXperience">MUX</ACRONYM> code.  It includes other syntax additions to work with my mushpp script (see <A HREF="../Perl/">Perl section</A>).  Place this in &lt;runtimepath&gt;/after/syntax/ and put "<SPAN CLASS="keyword">:let mush_fold = 1</SPAN>" in your vimrc.<SUP><A HREF="#fn1">[1]</A></SUP></LI>
   </UL>
  </DIV>

  <DIV CLASS="right2col">
   <UL>
    <LI><A HREF="plugin/rcs.vim">rcs.vim</A> <SPAN CLASS="lastmod">(<!--#flastmod file="plugin/rcs.vim" -->)</SPAN>
    <BR>Autocmds and menus for <ACRONYM TITLE="Revision Control System">RCS</ACRONYM> files.  Place this in &lt;runtimepath&gt;/plugin/.  It asks you whether to check out a file if it's readonly and controlled by <ACRONYM TITLE="Revision Control System">RCS</ACRONYM>, then lets you check it back in with a log message when you're done.</LI>
    <LI><A HREF="Rename.vim">Rename.vim</A> <SPAN CLASS="lastmod">(<!--#flastmod file="Rename.vim" -->)</SPAN>
    <BR>A command and function that basically does a "<A HREF="/c?url=vimsaveas" CLASS="keyword">:saveas &lt;newfile&gt;</A>" then removes the old filename on the disk.</LI>
    <LI><A HREF="indent/slrnsc.vim">slrnsc.vim</A> (indent) <SPAN CLASS="lastmod">(<!--#flastmod file="indent/slrnsc.vim" -->)</SPAN>
    <BR>An auto-indent file for the slrn score files.  Place this in &lt;runtimepath&gt;/indent/.</LI>
    <LI><A HREF="syntax/slrnsc.vim">slrnsc.vim</A> (syntax folding) <SPAN CLASS="lastmod">(<!--#flastmod file="syntax/slrnsc.vim" -->)</SPAN>
    <BR>Syntax based folding for slrn score files.  Place this in &lt;runtimepath&gt;/after/syntax/ and put "<SPAN CLASS="keyword">:let slrn_fold = 1</SPAN>" in your vimrc.</LI>
    <LI><A HREF="SmartX.vim">SmartX.vim</A> <SPAN CLASS="lastmod">(<!--#flastmod file="SmartX.vim" -->)</SPAN>
    <BR>Smart deletion of \X escapes with the x/X/Backspace/Delete keys.</LI>
    <LI><A HREF="Tabmerge.vim">Tabmerge.vim</A> <SPAN CLASS="lastmod">(<!--#flastmod file="Tabmerge.vim" -->)</SPAN>
    <BR>Merge a tab's windows with the current tab.</LI>
    <LI><A HREF="indent/tf.vim">tf.vim</A> (indent) <SPAN CLASS="lastmod">(<!--#flastmod file="indent/tf.vim" -->)</SPAN>
    <BR>An auto-indent file for the TinyFugue internal scripting language.  Place this in &lt;runtimepath&gt;/indent/.  <SUP><A HREF="#fn1">[1]</A></SUP></LI>
    <LI><A HREF="syntax/tf.vim">tf.vim</A> (syntax folding) <SPAN CLASS="lastmod">(<!--#flastmod file="syntax/tf.vim" -->)</SPAN>
    <BR>Syntax based folding for the TinyFugue internal scripting language.  Place this in &lt;runtimepath&gt;/after/syntax/ and put "<SPAN CLASS="keyword">:let tf_fold = 1</SPAN>" in your vimrc. If you want to fold commented blocks of code, put "<SPAN CLASS="keyword">:let tf_fold_comments = 1</SPAN>" in your vimrc as well.  <SUP><A HREF="#fn1">[1]</A></SUP></LI>
   </UL>
  </DIV>

  <BR STYLE="clear: both;">

  <CENTER>
   <FONT SIZE="-1"><SPAN ID="fn1" CLASS="footnote">[1] You may also need to
     read "<A HREF="/c?url=vimfiletype" CLASS="keyword">:help
   new-filetype</A>".</SPAN></FONT>
  </CENTER>

  <!-- The Vi IMproved Editor Web Ring:  {{{ -->

  <BR>

  <CENTER>
   <SCRIPT TYPE="text/javascript" LANGUAGE="javascript"
           SRC="http://ss.webring.com/navbar?f=j;y=heptite;u=200075119">
   </SCRIPT>
   <NOSCRIPT>
    <TABLE BGCOLOR="#FFFFFF"  BORDER=0
           CELLSPACING=0      CELLPADDING=5
           ALIGN="CENTER"     SUMMARY=""
           STYLE="border: solid #00CC00 1px">
     <TR>
      <TD WIDTH=80 ALIGN="CENTER">
       <A HREF="http://www.webring.org/cgi-bin/webring?ring=vim;id=4;prev"><IMG SRC="../images/vim_on_fire.gif" WIDTH="32" HEIGHT="50" BORDER=0 ALT=""><BR><IMG SRC="../images/left_arrow.jpg" WIDTH="25" HEIGHT="23" BORDER="0" ALT=""></A>
      </TD>
      <TD WIDTH=222 ALIGN="CENTER">
       <A HREF="http://u.webring.com/hub?ring=vim">The Vi IMproved Editor Webring</A>.
       <BR>
       <BR>
       <FONT SIZE="-1">
        [
        <A HREF="http://www.webring.org/cgi-bin/webring?ring=vim;id=4;prev5">Previous 5</A>
        |
        <A HREF="http://www.webring.org/cgi-bin/webring?ring=vim;id=4;prev">Previous</A>
        |
        <A HREF="http://www.webring.org/cgi-bin/webring?ring=vim;id=4;next">Next</A>
        |
        <A HREF="http://www.webring.org/cgi-bin/webring?ring=vim;id=4;next5">Next 5</A>
        |
        <A HREF="http://www.webring.org/cgi-bin/webring?ring=vim;random">Random</A>
        |
        <A HREF="http://www.webring.org/cgi-bin/webring?ring=vim;list">List</A>
        ]
       </FONT>
      </TD>
      <TD WIDTH=80 ALIGN="CENTER">
       <A HREF="http://www.webring.org/cgi-bin/webring?ring=vim;id=4;next"><IMG SRC="../images/vim_on_fire.gif" WIDTH="32" HEIGHT="50" BORDER=0 ALT=""><BR><IMG SRC="../images/right_arrow.jpg" WIDTH="24" HEIGHT="24" BORDER=0 ALT=""></A>
      </TD>
     </TR>
    </TABLE>
   </NOSCRIPT>
  </CENTER>

  <!-- End The Vi IMproved Editor Web Ring }}} -->

  <HR WIDTH="75%">
  <!--#include virtual="../nav.shtml" -->
  <!--#include virtual="../footer.shtml" -->

 </BODY>
</HTML>
<!-- vim600: set fdm=marker fdc=2: -->