Using VI to Edit Commands in the Terminal in UNIX
I used to have a co-worker who was really good at UNIX and had showed me how to use VI to edit the commands that I would enter into the terminal.  He placed the command to do this into a file and had that file run every time  I would log in.

Since then, I moved to a different project within the same company but different client.  I have all new stuff now.  And, unfortunately, I don't remember what it was that that guy had done to get this to happen.

I tried looking it up, but I can't seem to find any documentation that shows how to use VI in the way that I just described above.  Is there anyone here who knows how to use VI to edit commands in the terminal, and how I can go about placing that command into a file which will be executed at login time?
Using VI to Edit Commands in the Terminal in UNIX
===

I used to have a co-worker who was really good at UNIX and had showed me how to use VI to edit the commands that I would enter into the terminal.  He placed the command to do this into a file and had that file run every time  I would log in.

Since then, I moved to a different project within the same company but different client.  I have all new stuff now.  And, unfortunately, I don't remember what it was that that guy had done to get this to happen.

I tried looking it up, but I can't seem to find any documentation that shows how to use VI in the way that I just described above.  Is there anyone here who knows how to use VI to edit commands in the terminal, and how I can go about placing that command into a file which will be executed at login time?