What's Vim? | Vim official page | Vim Screenshots

I n t r o d u c t i o n . t o
T h e . c o l o r . t e x t . e d i t o r .
Vim
(Japanese page)

Download from Vim official page
_rand1.c
/*--------------------------
    make a random number
--------------------------*/
unsigned long
rand1( void )
{
 static unsigned long R = 0x12345678;

 R = ( R << 1 ) +               // shift 1 bit to left, and
  ( (                           // generate rightmost bit by
  ( ( R & 0x80000000L ) != 0 )  // XORing leftmost bit with
  ^ ~( ( R & 4L ) != 0 )        // bit 29 (bit 2 for Little Endian).
  ) & 1 );
 return R;
}

Vim abstract

Vim is named as a short for "vi improved". Since UNIX was born, millions(?) users have used vi as a standard text editor. Inheritting advantages of vi --- commands by fewer key input, standardized regular expressions for search ---- many pewerful features are added to Vim. Syntax coloring, Script, ... etc.

What's Vim?
Afrikaans, Bulgarian, Chinese (Mandarin), Chinese (Big5), Czech,
Dutch, English, Finnish, French, German,
Greek, Hungarian, Indonesian, Italian, Japanese, Korean,
Polish, Portuguese, Romanian, Russian, Slovak,
Spanish, Swedish, Turkish, Ukrainian, Welsh, and Yiddish.

Vim is a color editor

Editting HTML source
index.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html> <span style="text-align: center"> go <a href="http://iii.jjj.kkk">iii.jjj.kkk</a> </span> <script language="JavaScript"> <!-- comment for old browsers //--------------- var i = 0 for ( i = 0; i < 10; i++ ) { window.document.write( "i=" + i + ", " ) } window.document.write( "<br>" ) //--> //--------------- </script> </html>

Editting C language source
rand1.c
#include <stdio.h>

unsigned long rand1( void );

/*----------- main -----------*/
void main( void ) { int i; for ( i = 0; i < 10; i++ ) { printf( "0x%08x\n", rand1() ); } }
/*-------------------------- make a random number --------------------------*/
unsigned long rand1( void ) { static unsigned long R = 0x12345678; R = ( R << 1 ) + // shift 1 bit to left, and ( ( // generate rightmost bit by ( ( R & 0x80000000L ) != 0 ) // XORing leftmost bit with ^ ~( ( R & 4L ) != 0 ) // bit 29 (bit 2 for Little Endian). ) & 1 ); return R; }

If you want to see other languages supported by Vim, visit www.vim.org and see "languages".

Figures above are not screen shots but written by HTML. Though it may not seem to be fixed width font on your browser, Vim displays them in fixed width. You can also change font for editting with Vim.

Platforms

Vim is available on many platforms:

AmigaOS, AtariMiNT, BeOS, DOS, MacOS,
MachTen, OS/2, RiscOS, VMS, and Windows (95/98/NT4/NT5/2000)

also UNIX...

A/UX, AIX, BSDI, Convex, DYNIX/ptx, DG/UX, DEC Unix, FreeBSD,
HPUX, Irix, Linux [Debian, RedHat, Slackware, SuSE,...],
MacOSX, NetBSD, NEXTSTEP, OpenBSD, OSF, QNX, SCO, Sinix,
Solaris, SunOS, SUPER-UX, Ultrix, Unixware, Unisys.

Recommended for whom?

If you have opportunity to write many kinds of program or script using text editors, Vim is suitable, indeed. Especially, if your development environment has changed from UNIX to PC, and you are looking for vi editor for PC, Vim is better choice.

Though Vim is not a word processor (see "VIM Development - General Development Anti-Goals" on www.vim.org), text format feature of Vim is nice for documentation work.

Vim is an open-source program

Executable binary programs for most of UNIX and free unix, PC, Mac OS, and many platforms are prepared. Source programs are distributed at www.vim.org and its miller site. You can arrange and re-compile the sources to use by yoursellf or to distribute patches.

Vim is going to be improved everyday. Main maintener is Bram Moolenaar. Several Mailing Lists are prepared to report bugs, to post queries, or to suggest new feature, etc. Vivid discussions are done there everyday. The traffic of the list for help that is one of these lists is 500 thru 600 mails per month (observed June 2000 thru Nov 2000).





since Dec 2000
Last updated:
mail to kawakami@ldri.co.jp
Disclaimer: Words written in this page are of my personal, not of company I belong to.