VIM

Why did the dinosaurs are still alive?

by Stepan Loginov

Who is target of this

vim dummy

unsure vimer

vimer

Vim may be interested if you ...

... use a lot of Linux

... work with language with bad IDE support

... work with many different languages

... want to know "How it works on RAW level"

​... can spend time to make comfortable customization

... happy to learn something and have fun

... need universal way to work with text

... impressed with open source

... want to help Uganda kids

Vim may be NOT interested if you ...

... work with one language with good IDE support

... can't spend time for learning

... use a lot of "smart" refactoring related to specific language

... don't love open source way

... need many integrations with third party

Speed sheet for dummies

I want to edit the text

I want to quit

I want to save

i

:q!

Esc

:w!

Esc

Pedigree

1969 - Unix bourn

1971 - ed initial release

1976 - em implemented (editor for mortals)

George Coulouris

Kenneth Thompson

1976 - en

1976 - ex  (Extended)

1976 - vi first release

William Nelson Joy

Vim

2 November 1991

Bram Moolenaar

World of editors

Learning curve

Modes

Speed sheet for dummies

I want to edit the text

I want to quit

I want to save

i

:q!

Esc

:w!

Esc

 Periodical table

Some rules

Duplication apply to line

Uppercase perform something similar as lowercase

Many commands have full name that starts with same letter

Numbers before command perform it many times

Frequently command types without Alt/Ctrl or other prefix

in command mode:

:!cmd - run shell cmd

:help something - help for something

:cmd! - run cmd in force mode

in command line:

Macros

Buffers

Delete not delete (chain "number" buffers)

The + is system buffer (but not in console vim)

Buffers not only for copy/paste

Castomization

Flexible and extensive settings

Code snippets

Plugins

Short line

Time machine

Autocomplete

Really useful help

Go to definition

Spell checker

and many other things

Time for questions

Q: how to start?

A: vimtutor -g "ru"

 

Q: Ok , how to  ... something ...?
A:  google.com

vi.stackexchange.com/

vim.wikia.com/

but at first try :help <some relevant keyword>

 

Q: I want to try it, but I don't have linux

A: Try gvim

VIM

By demobin

VIM

  • 347