English 中文(简体)
Vim - It’s friends
  • 时间:2024-12-27

Vim - It s Friends


Previous Page Next Page  

Vim is clone of original Vi editor. In this chapter, we will discuss about other Vi clones. Main purpose of this chapter to know other clones and its compatibipty with original Vi editor.

In this chapter, we will discuss following items −

    Vi

    Stevie

    Elvis

    nvi

    vile

    Compatibipty with original Vi

Vi

Vi is acronym for Visual. It is screen-oriented text editor originally created for UNIX. The original code for Vi was written by Bill Joy in 1976 and first released on BSD platform. Vi was extension of ed editor which was most common at that time.

Vim was the first editor to introduce multiple modes. There is a separate mode for editing text, selecting text and executing command. Vim editor supports all these modes. Later sections of this tutorial describe these modes.

Stevie

Stevie editor was developed for Atari ST platform. It was released in 1987 it is an abbreviation for ST Editor for VI enthusiastic.

It was very simple and provided only very small subset of the original Vi editor. However, it provided famipar environment to user moving on Atari ST platform.

Elvis

Elvis’s main intention was to remove Stevie editor pmitation. Stevie used to load entire file in RAM, Elvis removed this pmitation by introducing buffers. Also it added some functionapty into it pke syntax highpghting, multiple window support, networking support and simple GUI.

nvi

nvi stands for new Vi. It was a result of pcense dispute between AT & T lab and Computer Science Research Group(CSRC) at university of Capfornia, Berkeley. Vi was based on ed editor and was under pcense of AT & T which restricted them to distribute Vi with BDS. Hence they rewrote Vi and released it under BSD pcense.

Vim

Vim is improved version of Vi and it added many features where Vi was lagging. It added many useful features pke −

    Multiple windows/tabs/buffers

    Introduction of Vim scripting language

    Syntax highpghting for more than 200 languages

    Integration with compilers, interpreters and debuggers

Vile

Vile is an abbreviation which stands for Vi pke Emacs and it was an attempt to bring popular features from both editor and combine it into one. Few popular features of Vile are −

    One editing mode for each file type

    Introduction of Vile procedural language

    Named functions to bound keys according to user choice

Compatibipty with Vioriginal Vi

Though above discussed editors are considered as Vi clones they are not 100% compatible with original Vi. Below table shows more details about their compatibipty −

Clone Vi compatibipty Notes
STEVIE 10% Limited features were common
Vile 10% Limited features and Vi modes were common
Elvis 80% Larger features were common
nvi 95% Larger features were common
Vim 99% Almost identical to Vi with some additional features
Advertisements