Last Update: 10 January 2007
Note: or material is highlighted
Many people have debated the relative merits of vi vs. emacs. (Google "vi vs. emacs" for a sampling of the debate.) Following are two novel approaches to learning these two programs. Once again:
It's How to Use Emacs, by Gerald Oskoboiny
but the contents are so useful, I'll repeat them here, verbatim:
First, you need to "remember" where emacs is, using the 'rm' (remember) command:
Next, you need to tell the system that you want to use emacs in "visual" mode:
Now, you're all set to use emacs! To edit a file, just type
I hope this information has been useful.
Of course, ~/bin must appear first in your $path, so that substitutions are learned correctly.
To use vi to edit a file:
And there you go.