vimb icon indicating copy to clipboard operation
vimb copied to clipboard

How to access environment variables in config file?

Open pglira opened this issue 5 years ago • 2 comments

Is it possible to access environment variables (like $TERMINAL, $EDITOR) in the vimb config file?

E.g. for:

set editor-command=$TERMINAL -e $EDITOR %s

pglira avatar Jul 18 '20 18:07 pglira

This is not possible.

fanglingsu avatar Jul 28 '20 21:07 fanglingsu

I think it would be quiet useful. Other examples:

  • set download path: set download-path=$DOWNLOAD_DIR
  • set coloring: set status-css=color:$COLOR_FG;background-color:$COLOR_BG;font:11pt JetBrains Mono;

BTW, thank you for this amazing project.

pglira avatar Jul 28 '20 23:07 pglira