codeaprendiz.github.io

vi

NAME

vim - Vi IMproved, a programmers text editor

SYNOPSIS

vim [options] [file ..]

vim [options] -

vim [options] -t tag

vim [options] -q [errorfile]

ex gex view

gvim gview vimx evim eview

rvim rview rgvim rgview

DESCRIPTION

Vim is a text editor that is upwards compatible to Vi. It can be used to edit all kinds of plain text. It is especially useful for editing programs.

COMMANDS

To search and replace globally in a file

:%s/search/replace/g