feat: a link brings back the lazysecrets nvim hid; Azure shows its account (#95)
- In nvim, lazysecrets asks lazysecrets.nvim whether its window is shown: a hidden one is brought back for a link, unless nvim is busy (typing, a command, a picker, mid-operator), when the link opens elsewhere. Without an answer (an older plugin), nothing changes. - The Azure group is named for its account, Azure · alice, also with a single account; its ID, and so stars and cache, stay as they were. Needs keb/lazysecrets.nvim#6 for the reveal; without it, links behave as before. Reviewed-on: #95 Co-authored-by: Karl-Einar Bergstrøm <karl-einarb@outlook.com>
This commit was merged in pull request #95.
This commit is contained in:
1 parent
677bba4c4a
commit
99e6b7bcd8
7 files changed
+128
-8
No files matched your search
+3
-2
@@ -5,8 +5,9 @@ it reuses it.
|
||||
|
||||
## Accounts
|
||||
|
||||
Every account signed in to az gets its own group in the Sources pane
|
||||
(`az login` again with another account to add one), and each account's
|
||||
Every account signed in to az gets its own group in the Sources pane,
|
||||
named for it, `Azure · alice` (`az login` again with another account to
|
||||
add one), and each account's
|
||||
vaults are read with that account. A subscription several accounts can see
|
||||
is listed under each, since their permissions can differ.
|
||||
|
||||
|
||||
@@ -177,6 +177,11 @@ linkHandler:
|
||||
a hidden dropdown terminal (kitty's quick access terminal) is shown.
|
||||
With none running, a new window opens.
|
||||
|
||||
- **Hidden in nvim** ([lazysecrets.nvim](https://github.com/karleinarb/lazysecrets.nvim)
|
||||
hides it when you leave its window): it's brought back, unless nvim is
|
||||
in the middle of something a window popping up would break (typing, a
|
||||
command, a picker); then it counts as not running.
|
||||
|
||||
The link is then offered as if pasted. `linkHandler.reuse: false` always
|
||||
opens a new window.
|
||||
|
||||
|
||||
Reference in new issue
Block a user