Let say
a document in VIM has this path:

d:\folders\john\itsalltext\broodpad.eml

I would like to know if:

1) The string "john" is in the path
2) The file name has the extension "eml"


> > [snip]
>
> By "active session", do you mean the buffer that has the cursor right now?
> You can either do CTRL-G or expand("%")

No, the name of the session variable active.

p.e. I have various sessionvariables
session1.vim
session2.vim
session3.vim

I would like to know which session is now active.

Tnx :-)


-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to