Sublime Forum

Aren't environmental variables supported?

#1

Ideally, I would like to be able to have a key binding (or doubleclick, even better) for a command like this:

"command": "open_file", "args": {"file": "${file_dir}/$TM_SELECTED_TEXT"}

Can this be done, or, is it planned to be implemented better?
thanks!

(a simple “gf” ala vim would also do just fine!!)

0 Likes

#2

Come on you guys, anyone? Noone knows if env variables are supported?

0 Likes

#3

Thanks I ll try to find them! I wouldn’t know what to do with the above code (not until there’s a 200 page-long equivalent documentation, that is!!)

0 Likes