Vi

From Proj3ctWiki
Jump to: navigation, search

Contents

Memos

Remplacer le ^M par des retours unix

^M : [ctrl-v + ctrl-m]

:%s/^M/\r/g

Accès au shell

:sh
or
:shell
(resume with CTRL-D)

or pause Vi process

CTRL-Z
resume with
fg

Exécuter une commande shell

:! [command] %

Split

:split [optional_filename]

or

:vsplit [optional_filename]

naviguer

CTRL-W CTRL-W

Importer dans buffer

:r [command or filename]
Personal tools