set -o vi
Note: this is the only way to set up in some versions of bash. You must type this in at
the command-line each time you log in.
Having it in a shell script (for instance your profile) does not work in all versions of Linux. We will try it in yours and see what happens.
Type:
(then press Enter) to give it rwx for the owner (you).
:!chmod 700 %
:!%
:!% arg1 "argument 2"
runs the current file with two arguments.
:!!