Page 1 of 1

Combining Salamander file content search with editor search

Posted: 26 Jun 2008, 21:22
by zxmar05
I'm using Vim as my editor in Servant Salamander.

Vim has the option to open a file and immediately search inside it for a given text:

vim +/<search text> <filename>

I would like to use this feature with Salamander's file content search, so that when I invoke the editor on a file in the file search window I would not have to redo the search in the editor.

For this to work I need access to the current file content search text in Salamander.

Is it possible to have this available as a variable in the editor configuration (for example $(FileContentSearchText) )?

For best effect this variable should only be set when the editor is opened from the file search window.

Regards, Eduard