Results 1 to 4 of 4
Would someone be so kind to enlighten me as to what a "session" means when using VI? Thanks in advance!...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 01-14-2014 #1
Session in context with Vi
Thanks in advance!Presently into Rpm based Distros as in ,Mageia ,Fedora CentOS and Scientific.
- 01-14-2014 #2
An editing session. In other words using the editor and exiting is a session.
- 01-14-2014 #3
Thanks for the reply! So does vi save different environmental variables for different sessions or what is the purpose?Presently into Rpm based Distros as in ,Mageia ,Fedora CentOS and Scientific.
- 01-14-2014 #4
- Join Date
- Dec 2013
If you set variables in vi command mode they last for the duration of the session. If you want them to be defaults you have to set them in one of the config files i.e. .vimrc.
During the course of a session vim also creates and maintains a file to back out to the previous saved file. It is deleted at the end of your session.