gf
runs fine with absolute or relative path.
Is it possible to open a file with variable in the path?
For example, in a tcl file:
...
set FILE_ROOT /user/abc
...
read_file ${FILE_ROOT}/some/path/abc.txt
How to open ${FILE_ROOT}/some/path/abc.txt inside vim?
:exe
-- I'm quite sure it has been answered more than once.g:filepath
variable and:exe "0read" g:filePath
? Wondering if there is a more easy way.