You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have helix open in one terminal tab and am navigating files in another. Is it possible to, in that separate tab, send a file path to helix? A command like hx --use-existing-session some/file.txt or echo $PWD/file.txt > /proc/[hx PID]/fd/0
Right now the only option is to copy the path and then paste it into helix with :o [paste], but having the ability to send file paths to an existing helix instance would not only make life easier for the use case I describe, but it would also open up the possibilities of other external connections, like issuing a buffer reload on a git switch or more.
It doesn't look like something like this exists, to what I could find. I saw some discussion of an RPC feature, but that was mainly from helix to something else. I was thinking perhaps a local socket or adding notify (in linux at least) support. Curious about the community's thoughts. Thanks!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have helix open in one terminal tab and am navigating files in another. Is it possible to, in that separate tab, send a file path to helix? A command like
hx --use-existing-session some/file.txt
orecho $PWD/file.txt > /proc/[hx PID]/fd/0
Right now the only option is to copy the path and then paste it into helix with
:o [paste]
, but having the ability to send file paths to an existing helix instance would not only make life easier for the use case I describe, but it would also open up the possibilities of other external connections, like issuing a buffer reload on agit switch
or more.It doesn't look like something like this exists, to what I could find. I saw some discussion of an RPC feature, but that was mainly from helix to something else. I was thinking perhaps a local socket or adding
notify
(in linux at least) support. Curious about the community's thoughts. Thanks!Beta Was this translation helpful? Give feedback.
All reactions