Watch environment variables with telescope
Plug "nvim-telescope/telescope.nvim"
Plug "LinArcX/telescope-env.nvim"
use { "nvim-telescope/telescope.nvim" }
use { "LinArcX/telescope-env.nvim" }
require('telescope').load_extension('env')
:Telescope env
key | Usage |
---|---|
<cr> |
append environment name to buffer |
<c-a> |
append environment value to buffer |
<c-e> |
edit environment value(for the current session) |
If you have any idea to improve this project, please create a pull-request for it. To make changes consistent, i have some rules:
-
Before submit your work, please format it with StyLua.
- Just go to root of the project and call:
stylua .
- Just go to root of the project and call:
-
There should be a one-to-one relation between features and pull requests. Please create separate pull-requests for each feature.
-
Please use snake_case for function names ans local variables
-
If your PR have more than one commit, please squash them into one.
-
Use meaningful name for variables and functions. Don't use abbreviations as far as you can.
- 2022/01/13
- append environment name to buffer( default behavior
<cr>
) - append environment value to buffer( mapping
<c-a>
) - edit environment value for the current session( mapping
<c-e>
) - fixes issue with fish terminal in multiline values
- append environment name to buffer( default behavior
- โ๏ธ append environment name/value to buffer. (Thanks to: sbulav)
- โ๏ธ edit environment value for the current session. (Thanks to: sbulav)
- ability to add new environment variables.
- use telescope previews, because some variables like
PATH
don't fit on screen. -
PATH
is a special variable! It's cool to allow people to add, remove and edit items to/from/of it.