I use :mkview %.vimview
to create a view file under current directory, and in the file created there is a line of code like this:
if bufexists(fnamemodify("~/PycharmProjects/rl/report/rl_qf_report.tex", ":p")) | buffer ~/PycharmProjects/rl/report/rl_qf_report.tex | else | edit ~/PycharmProjects/rl/report/rl_qf_report.tex | endif
what does this do?
(The file I want to save view has the path ~/PycharmProjects/rl/report/rl_qf_report.tex
, but it will be a different path if I clone the repository from GitHub to other directories. I want this view file also can be used in other location.)