summaryrefslogtreecommitdiff
path: root/htdocs/viusers.php
blob: 7777e87770bc18f6c89218a16425406990a12ece (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<?php
// for Vi users
require_once("include/init.inc");
$page_title = "for Vi users";

include("header.php");
?>
<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>
<?php
$google_ads = "big";
include("footer.php");
?>