vi¶
vi intro¶
What is vi? vi is an unfriendly modal text editor.
Why will I use it?
Because it is present on every operating system.
vi tips¶
Replace a string in a file.
Make your script (eg myfile.script):
:1,$s/bar\.coin/foo\.coin/g
:wq
Use it
ex - myfile.test < myfile.script
vim only¶
Encode selection with ROT13
g?