32
Luiz Sanches [email protected] FISL 9.0 19/04/2008

Vim Editor in English

Embed Size (px)

DESCRIPTION

9º Fórum Internacional de Software Livre, versão em inglês enviada para o Bram Moolenaar.

Citation preview

Luiz [email protected]

FISL 9.019/04/2008

Luiz [email protected]

FISL 9.019/04/2008

Motive.

Information Systems course;

Computers with Linux;

To code programs in C++ and Java;

IDEs are “heavy” to this kind of work;

Knowledge of Vim editor;

I’m addicted to command-lines;

I was tired of the same routine: writing / saving / compiling / testing / re-compiling;

Programming Tutoring

I’m willing to learn!

Luiz [email protected]

FISL 9.019/04/2008

But before that, my saga with text editors.

Luiz [email protected]

FISL 9.019/04/2008

The notorious COPY CON.

Luiz [email protected]

FISL 9.019/04/2008

EDIT helps a lot.

Luiz [email protected]

FISL 9.019/04/2008

SideKick.

Luiz [email protected]

FISL 9.019/04/2008

Windows Notepad. Just the basic.

Luiz [email protected]

FISL 9.019/04/2008

Notepad has changed a lot...

Luiz [email protected]

FISL 9.019/04/2008

KDE's KWrite.

Luiz [email protected]

FISL 9.019/04/2008

KDE's Kate.

Luiz [email protected]

FISL 9.019/04/2008

Pico.

Luiz [email protected]

FISL 9.019/04/2008

Just the best part of mcedit.

Luiz [email protected]

FISL 9.019/04/2008

Emacs is VI's mortal enemy.

Luiz [email protected]

FISL 9.019/04/2008

VI.

Luiz [email protected]

FISL 9.019/04/2008

VIM. Much better now!

Luiz [email protected]

FISL 9.019/04/2008

GVIM. For those who enjoy buttons.

Luiz [email protected]

FISL 9.019/04/2008

Sit and wait because here comes the history.

Luiz [email protected]

FISL 9.019/04/2008

At the beginning – Quick EDitor.

In 1966, Butler Lampson and Peter Deutsch created the QED editor to Berkeley operating system (BSD).

Luiz [email protected]

FISL 9.019/04/2008

Ken Thompson comes on stage.

Ken Thompson used QED in Berkeley. In 1968, he rewrote QED in assembly to MIT’S CTSS, applying the concepts of Regular Expressions

([0-9] *.* ???).

Luiz [email protected]

FISL 9.019/04/2008

ed – UNIX Text Editor.

In 1972, when Ken Thompson wrote UNIX on PDP-7, he also created an editor in C language called ed (based on QED).

Luiz [email protected]

FISL 9.019/04/2008

VI editor (Visual Interface).

In 1976, Bill Joy, cofounder of SUN, created VI editor to BSD.

The VI editor is based on an older line editor called ex, along with ed (both variants of QED).

Luiz [email protected]

FISL 9.019/04/2008

Emacs – the major competitor.

At the same period, Richard Stallman, from the GNU project, created Emacs editor.

It seems there is a “holy war” between the users of Emacs and Vi.

Luiz [email protected]

FISL 9.019/04/2008

VIM – Vi IMproved.

In 1992, Bram Moolenaar created VIM, Vi IMitator, or, as it’s called now, Vi IMproved.

Vi IMproved is the default version to Linux systems.

Luiz [email protected]

FISL 9.019/04/2008

Some features of Vim:

It supports regular expressions in search;

Command mapping; Abbreviations; Syntax highlighting (more than 400 languages);

It opens many files at a time; Source code automatic indenting; Highly configurable text editor; Portability.

Luiz [email protected]

FISL 9.019/04/2008

Dive in .vimrc

Luiz [email protected]

FISL 9.019/04/2008

A test held among programmers.

Luiz [email protected]

FISL 9.019/04/2008

C++ code created by a Junior programmer in some editor.

Luiz [email protected]

FISL 9.019/04/2008

C++ code created by another Junior programmer in VIM.

Luiz [email protected]

FISL 9.019/04/2008

1st Junior Programmer.

Junior Yamoto

Luiz [email protected]

FISL 9.019/04/2008

2nd Junior Programmer.

Junior Almeida

Luiz [email protected]

FISL 9.019/04/2008

Thanks!

Bram Moolenaar

Aurélio Marinho Jargas

Silvana Rossy

Fábio Cavalcante

Estela Corbellini

Luiz [email protected]

FISL 9.019/04/2008

Tips e links.

vim<enter> :help<enter>

www.vim.org

www.moolenaar.net

aurelio.net/vim

tech.groups.yahoo.com/group/vi-br

luizsanches.wordpress.com