> by path do you mean the vim variable 'path'

let say a file in VIM has the next path:

d:\my_documents\John\bread.eml

I would like to know if:
1) the path has the string "John" inside
2) the filename has the extension "eml"


> By "active session", do you mean the buffer that has the cursor right now?

No, not buffers, sessions created by mksession!

I have various session variables.

session1.vim
session2.vim
session3.vim

I would like to know which session is now active

ps:

Another possibility is to check if current GVIM is opened with the
option
"--noplugin"
I don't know how to check this.

-- 
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