RetroFed Forum
Your home away from modern life.
How to use env variables inside which-key plugin mapping? [SOLVED]
Post Reply
AuthorMessage
dafunkkk lemmy.world dafunkkk@lemmy.world
Joined: 2023-06-09
Quote

The example below is not working (error is given when neovim is opened not recognising $env_var) how can I let him recognise the env_var?

g = {

name = "+grep",

a = { "Telescope grep_string", "Grep on all dirs" },

s = { "Telescope grep_string search_dirs={"$env_var/dir1/dir2/dir3/"} cr>", "Grep on dir" },

},

Thanks

1   Original
Post Reply
Back to top