added why
This commit is contained in:
parent
ee9f7a4092
commit
7b150fff80
15
index.md
15
index.md
|
@ -1,7 +1,14 @@
|
||||||
# Why vi Rocks
|
# Why vi Rocks
|
||||||
|
|
||||||
A collection of commands, command sequences in [vi(1)](https://man.openbsd.org/vi.1)/[ex(1)](https://man.openbsd.org/ex.1) or with 3rd party unitilities.<br />
|
**[vi](https://en.wikipedia.org/wiki/Vi)** is the _de facto_ standard
|
||||||
These all work with at least [nvi](https://en.wikipedia.org/wiki/Nvi) 1.79 and 2.1.3 (unicode).
|
Unix editor, you find it in every *NIX derived OS.
|
||||||
|
|
||||||
|
Here you will find a collection of commands, command sequences in
|
||||||
|
[vi(1)](https://man.openbsd.org/vi.1)/[ex(1)](https://man.openbsd.org/ex.1)
|
||||||
|
or with 3rd party unitilities which make
|
||||||
|
**[vi](https://en.wikipedia.org/wiki/Vi)** rock. These all work
|
||||||
|
with at least [nvi](https://en.wikipedia.org/wiki/Nvi) 1.79 and
|
||||||
|
2.1.3 (unicode).
|
||||||
|
|
||||||
Helpful documents:<br />
|
Helpful documents:<br />
|
||||||
- [Roman Zolotarev: Edit text with vi(1)](https://rgz.ee/vi.html)<br />
|
- [Roman Zolotarev: Edit text with vi(1)](https://rgz.ee/vi.html)<br />
|
||||||
|
@ -16,8 +23,8 @@ Helpful documents:<br />
|
||||||
2) move to last line
|
2) move to last line
|
||||||
3a) yank: y'k
|
3a) yank: y'k
|
||||||
3b) delete: d'k
|
3b) delete: d'k
|
||||||
4) move to new line
|
4) move to destination line
|
||||||
5) paste with P or p
|
5) put with P or p
|
||||||
|
|
||||||
#### Apply regex to an arbitrary number of lines
|
#### Apply regex to an arbitrary number of lines
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue