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
@@ -2,6 +2,7 @@ package instance
|
||||
|
||||
import (
|
||||
"cmp"
|
||||
"context"
|
||||
"os"
|
||||
"os/exec"
|
||||
"slices"
|
||||
@@ -101,6 +102,7 @@ func Raise(front string) {
|
||||
if reach == unreachable {
|
||||
return
|
||||
}
|
||||
nvimReveal(context.Background())
|
||||
if inTmux() {
|
||||
pane := os.Getenv("TMUX_PANE")
|
||||
_, _ = tmux("select-window", "-t", pane)
|
||||
|
||||
Reference in new issue
Block a user