CINXE.COM
for Vi users : vim online
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <link rel="Stylesheet" type="text/css" href="/css/style.css" > <title>for Vi users : vim online</title> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta name="KEYWORDS" content="Vim, Vi IMproved, text editor, home, documentation, tips, scripts, news"> <meta name="viewport" content="width=1000, initial-scale=1"> <link rel="shortcut icon" type="image/x-icon" href="/images/vim_shortcut.ico"> </head> <body topmargin="0" leftmargin="0" marginheight="0" marginwidth="0" bgcolor="#ffffff"> <!-- HEADER, SPONSOR IMAGE, VIM IMAGE AND BOOK AD --> <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr> <td class="lightbg" width="208" style="background-color: #0057b7"><img src="/images/spacer.gif" width="100" height="5" alt=""></td> <td colspan="4" class="lightbg"><img src="/images/spacer.gif" width="1" height="5" alt=""></td> <td class="lightbg" width="208" style="background-color: #0057b7"><img src="/images/spacer.gif" width="100" height="5" alt=""></td> </tr> <tr> <td> <table width="208" cellpadding="0" cellspacing="0" border="0"> <tr> <td class="lightbg" style="background-color: #0057b7"> <a href="https://eu-solidarity-ukraine.ec.europa.eu/eu-stands-ukraine_en"><img src="/images/spacer.gif" width="204" height="23" alt=""></a> </td> </tr> <tr> <td class="lightbg" style="background-color: #ffd700"> <a href="https://eu-solidarity-ukraine.ec.europa.eu/eu-stands-ukraine_en"><img src="/images/spacer.gif" width="204" height="23" alt=""></a> </td> </tr> </table> </td> <td class="lightbg"> </td> <td class="lightbg" align="left"><a href="https://www.vim.org/sponsor/index.php"><img src="/images/sponsorvim.gif" alt="sponsor Vim development" border="0"></a></td> <td class="lightbg" align="center"> <a href="/"><img src="/images/vim_header.gif" border="0" alt="Vim logo" class="align-middle"></a> </td> <td class="lightbg" align="right"><a href="http://iccf-holland.org/click5.html"><img src="/images/buyhelplearn.gif" alt="Vim Book Ad" border="0"></a></td> <td> <table width="208" cellpadding="0" cellspacing="0" border="0"> <tr> <td class="lightbg" width="208" style="background-color: #0057b7"> <a href="https://eu-solidarity-ukraine.ec.europa.eu/eu-stands-ukraine_en"><img src="/images/spacer.gif" width="204" height="23" alt=""></a> </td> </tr> <tr> <td class="lightbg" width="208" style="background-color: #ffd700"> <a href="https://eu-solidarity-ukraine.ec.europa.eu/eu-stands-ukraine_en"><img src="/images/spacer.gif" width="204" height="23" alt=""></a> </td> </tr> </table> </td> </tr> <tr> <td class="lightbg" style="background-color: #ffd700"><img src="/images/spacer.gif" width="100" height="5" alt=""></td> <td colspan="4" class="lightbg"><img src="/images/spacer.gif" width="1" height="5" alt=""></td> <td class="lightbg" style="background-color: #ffd700"><img src="/images/spacer.gif" width="100" height="5" alt=""></td> </tr> </table> <!-- THE PAGE BODY: BETWEEN HEADER AND FOOTER --> <table cellpadding="0" cellspacing="0" border="0" width="100%"> <col width="180"> <col width="1"> <tr valign="top"> <td class="sidebar"> <table width="180" cellpadding="4" cellspacing="0" border="0"> <tr valign="top"> <td class="sidebar"> <!-- INCLUDE THE PAGE NAVIGATION --> <table width="100%" cellpadding="0" cellspacing="0" border="0" bordercolor="red"> <tr> <td><small>not logged in (<a href="https://www.vim.org/login.php">login</a>)</small></td> </tr> <tr><td> <small> </small> <form action="https://www.google.com/cse" id="cse-search-box"> <div> <input type="hidden" name="cx" value="partner-pub-3005259998294962:bvyni59kjr1" /> <input type="hidden" name="ie" value="ISO-8859-1" /> <input type="text" name="q" size="20" /> <br> <input type="submit" name="sa" value="Search" /> </div> </form> <script type="text/javascript" src="https://www.google.com/coop/cse/brand?form=cse-search-box&lang=en"></script> </td></tr> <tr> <td><img src="/images/spacer.gif" alt="" border="0" width="1" height="1"></td> </tr> <tr> <td class="darkbg"><img src="/images/spacer.gif" alt='' border="0" height="3"></td> </tr> <tr> <td><img src="/images/spacer.gif" alt="" border="0" width="1" height="2"></td> </tr> <tr> <td class="sidebarheader"><a href="https://www.vim.org/">Home</a></td> </tr> <tr> <td class="sidebarheader"><a href="https://www.vim.org/search.php">Advanced search</a></td> </tr> <tr> <td><img src="/images/spacer.gif" alt="" border="0" width="1" height="7"></td> </tr> <tr> <td class="checker"><img src="/images/spacer.gif" alt='' border="0" height="1"></td> </tr> <tr> <td><img src="/images/spacer.gif" alt="" border="0" width="1" height="7"></td> </tr> <tr> <td class="sidebarheader"><a href="https://www.vim.org/about.php">About Vim</a></td> </tr> <tr> <td class="sidebarheader"> <a href="https://www.vim.org/6kbyte.php">in 6 Kbyte</a> </td> </tr> <tr> <td class="sidebarheader"> for Vi users </td> </tr> <tr> <td class="sidebarheader"> <a href="https://www.vim.org/vim5users.php">for Vim 5 users</a> </td> </tr> <tr> <td class="sidebarheader"> <a href="https://www.vim.org/others.php">for others</a> </td> </tr> <tr> <td class="sidebarheader"><a href="https://www.vim.org/community.php">Community</a></td> </tr> <tr> <td class="sidebarheader"><a href="https://www.vim.org/news/news.php">News</a></td> </tr> <tr> <td class="sidebarheader"><a href="https://www.vim.org/sponsor/index.php">Sponsoring</a></td> </tr> <tr> <td class="sidebarheader"><a href="https://www.vim.org/trivia.php">Trivia</a></td> </tr> <tr> <td class="sidebarheader"><a href="https://www.vim.org/docs.php">Documentation</a></td> </tr> <tr> <td class="sidebarheader download"><a href="https://www.vim.org/download.php">Download</a></td> </tr> <tr> <td><img src="/images/spacer.gif" alt="" border="0" width="1" height="7"></td> </tr> <tr> <td class="checker"><img src="/images/spacer.gif" alt='' border="0" height="1"></td> </tr> <tr> <td><img src="/images/spacer.gif" alt="" border="0" width="1" height="7"></td> </tr> <tr> <td class="sidebarheader"><a href="https://www.vim.org/scripts/index.php">Scripts</a></td> </tr> <tr> <td class="sidebarheader"><a href="https://www.vim.org/tips/index.php">Tips</a></td> </tr> <tr> <td class="sidebarheader"><a href="https://www.vim.org/account/index.php">My Account</a></td> </tr> <tr> <td><img src="/images/spacer.gif" alt="" border="0" width="1" height="7"></td> </tr> <tr> <td class="checker"><img src="/images/spacer.gif" alt='' border="0" height="1"></td> </tr> <tr> <td><img src="/images/spacer.gif" alt="" border="0" width="1" height="7"></td> </tr> <tr> <td class="sidebarheader"><a href="https://www.vim.org/hgweb/vim/">Mercurical Web</a></td> </tr> <tr> <td class="sidebarheader"><a href="https://www.vim.org/huh.php">Site Help</a></td> </tr> </table> <br> <!-- <g:plusone></g:plusone> --> <table width="172" cellpadding="0" cellspacing="0" border="0"> <tr><td><img src="/images/spacer.gif" alt="" border="0" width="1" height="8"></td></tr> <tr><td class="darkbg"><img src="/images/spacer.gif" width="1" height="3" alt=""></td></tr> </table> <br> <!-- INCLUDE THE PAGE SIDEBAR TEXT --> </td> </tr> </table> </td> <td class="darkbg"><img src="/images/spacer.gif" width="1" height="1" border="0" alt=""><br></td> <td> <table width="100%" cellpadding="10" cellspacing="0" border="0" bordercolor="red"> <tr> <td valign="top"> <h1>if you're using vi</h1> <p> Vim is backwards compatible with vi. Switching from vi to Vim is easy: you can keep all the things that Vi offers <em>and</em> gain a large range of new features. Any one of these features may be a reason to start using Vim. A few are listed below, but a much more comprehensive list is in the Vim documentation, under <a href='http://vimdoc.sourceforge.net/cgi-bin/vim2html2.pl?page=vi_diff.txt#vi_diff.txt'>:help vi_diff</a>. </p> <ul> <li> unlimited undo <p> You can do <tt>xxxx</tt> and undo each of the four deletes. When was the last time you typed "jjjj" and then found out the caps lock key was on? You accidentally joined five lines together, and Vi can undo only the last command. In Vim you can undo all four "J" commands and get your original text back. </p> </li> <li> portability <p> Vi is only available on Unix. Vim works on MS-Windows, Macintosh, Amiga, OS/2, VMS, QNX and other systems. And also on every Unix system. </p> </li> <li> syntax highlighting <p> Vim can be programmed to highlight portions of the buffer in different colors or styles, based on the type of file being edited. There are hundreds of syntax highlighting rulesets bundled with Vim. </p> </li> <li> GUI <p> Vim works well at a console, but it can run natively in many GUIs, including X Windows, Mac OS, and Microsoft Windows. It uses native GUI widgets for scrolling, dividing buffers, and menuing. It can also talk to the clipboard. </p> </li> <li> vi compatibility mode <p> In a pinch, you can force Vim to act like vi. All of the improvements and bug-fixes in Vim that make it incompatible with vi are turned off, and you're left with a 100% vi-compatible editor. </p> </li> </ul> <!-- finish off the framework --> </td> </tr> </table> </td> <td class="darkbg"><img src="/images/spacer.gif" width="1" height="1" border="0" alt=""><br></td> <td class="sidebar"> <table width="128" cellpadding="4" cellspacing="0" border="0"> <tr valign="top"> <td class="sidebar"> <script type="text/javascript"><!-- google_ad_client = "pub-3005259998294962"; /* 160x600, created 7/25/08 */ google_ad_slot = "4419468696"; google_ad_width = 160; google_ad_height = 600; //--> </script> <script type="text/javascript" src="//pagead2.googlesyndication.com/pagead/show_ads.js"> </script> </td> </tr> <tr valign="top"> <td class="sidebar" align='center' style="padding-top: 16px"> Help Uganda </td> </tr> <tr valign="top"> <td class="sidebar" align='center'> <br> <a href="https://iccf-holland.org/clickkindle.html"><img src="/images/kindle-fire-125x125.jpg" alt="Buy a book, help Uganda, learn Vim"></a> <br> <a href="http://iccf-holland.org/click1.html">Buy at Amazon</a> </td> </tr> <!-- INCLUDE THE RIGHT SIDE SPONSOR LINKS if present --> </table> </td> </tr> </table> <!-- END OF THE PAGE BODY: BETWEEN HEADER AND FOOTER --> <table width="100%" cellpadding="0" cellspacing="0" border="0" bordercolor="red"> <tr><td colspan="4"><img src="/images/spacer.gif" width="1" height="5" alt=""></td></tr> <tr><td colspan="4" bgcolor="#000000"><img src="/images/spacer.gif" height="2" width="1" alt=""></td></tr> <tr><td colspan="4"><img src="/images/spacer.gif" width="1" height="5" alt=""></td></tr> <tr> <td><img src="/images/spacer.gif" width="5" height="1" alt=""></td> <td align="left" valign="top"><small> If you have questions or remarks about this site, visit the <a href="http://vimonline.sf.net">vimonline development</a> pages. Please use this site responsibly. <br> Questions about <a href="http://www.vim.org/about.php">Vim</a> should go to the <a href="http://www.vim.org/maillist.php">maillist</a>. Help Bram <a href="http://iccf-holland.org/">help Uganda</a>. </small> </td> <td align="right" valign="top"> <a href="https://github.com/vim/vim" rel="nofollow">Vim at Github</a> </td> <td><img src="/images/spacer.gif" width="5" height="1" alt=""></td> </tr> <tr><td colspan="4"><img src="/images/spacer.gif" width="1" height="5" alt=""></td> </tr> </table> </body> </html>