feat: a link brings a hidden lazysecrets back, unless nvim is busy (#6)

state(pid) and reveal(pid), for lazysecrets to call through $NVIM when
a link is handed to it: the hidden window comes back when nvim is in
normal or terminal mode; while you're typing, in a command or a picker,
or mid-operator, the link opens elsewhere.

Reviewed-on: #6
Co-authored-by: Karl-Einar Bergstrøm <karl-einarb@outlook.com>
This commit was merged in pull request #6.
This commit is contained in:
keb authored and keb committed 2026-10-28 13:18:45 +01:00
1 parent 5efe130788
commit 8e694fdca8
3 files changed
+58

No files matched your search

+3
View File
@@ -5,6 +5,9 @@ Brings [lazysecrets](https://github.com/karleinarb/lazysecrets) to Neovim.
## Features
- Prioritizes showing the secrets in the repo you are in
- The lazysecrets session stays alive for the whole nvim session
- A `lazysecrets://` link opened from the browser or chat brings the hidden
session back, unless you're in the middle of something (typing, a
command, a picker): then it opens elsewhere (lazysecrets 0.5 or later)
- `e` on a file in lazysecrets will open it in your current nvim session
- Follows the `:colorscheme` you have set in nvim