Posts

Showing posts from May, 2024

Vi and why it is great

  Vi (vim) Cheat Sheet This editor is a text editor available on all unix-like platforms, meaning any computer other than a windows computer, including from Sun, Apple, etc. Vi is also powerful for these reasons: 1. It can open any file of any size without crashing the computer 2. It does syntax highlighting for programming, meaning it's easier to read what programming codes you've done 3. It understands "regular expressions" which are ways of searching. So for example, in Word, if you search for "cat", it will return "cat" and "catheter" and "catastrophe", but that's it. In Vi you can match unspecific things like "???" which will find any three-letter word, and for example "?a?" will find "Cat", "sat", "mat". 4. It does not put carriage returns into files automatically. This is important to stop file corruption especially code files like DNA dat