Closed JESii closed 2 years ago
I have a session named 'brcvi'.
When I am in vim and say :OpenSession brcvi it works just fine.
:OpenSession brcvi
When I am in gvim and say :OpenSession brcvi it works just fine.
When I am on the command line and say gvim --servername brcvi gvim opens but the session is not
gvim --servername brcvi
I have a startup function to open NERDTree if no file is specified
function! StartUp() if 0 == argc() NERDTree end endfunction
I'm guessing this is the problem, but I don't understand why that would be the case since argc() should be > 0 in this case?
I have a session named 'brcvi'.
When I am in vim and say
:OpenSession brcvi
it works just fine.When I am in gvim and say
:OpenSession brcvi
it works just fine.When I am on the command line and say
gvim --servername brcvi
gvim opens but the session is notI have a startup function to open NERDTree if no file is specified
I'm guessing this is the problem, but I don't understand why that would be the case since argc() should be > 0 in this case?