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>