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. – Luc Hermitte Mar 21 '18 at 11:54g:filepathvariable and:exe "0read" g:filePath? Wondering if there is a more easy way. – Fisher Mar 21 '18 at 12:03