My use case may seem a little unusual, but here it is: when using vim (this is one of four different editors that I use regularly), I use it in two different situations. The first is through a graphical interface in which I will have several buffers, and I have some settings that are different from when I use it from the command line (by testing " if has('gui_running')"). Another thing is when I need to do something short and quick from the command line, for example, make a small change to the point file or another type of configuration.
What I would like to do is enable sessions for the GUI, but any command line calls ignore them. That is, I do not want to display the entire existing session on a CL call, and I do not want it (and whatever buffer / file it uses) to change the session used by the GUI. Since I'm pretty new to vim post-vi functionality, I'm not quite sure how to do this.
rjray source
share