Terminus icon indicating copy to clipboard operation
Terminus copied to clipboard

Open text file from terminus shell into Sublime?

Open ahfx opened this issue 5 years ago • 5 comments

Is it possible to open a text file from terminus into the parent sublime window?

ahfx avatar Mar 16 '21 14:03 ahfx

Just using the subl command?

randy3k avatar Mar 16 '21 16:03 randy3k

That opens the file in a new sublime window. Unless there is a setting I can configure to only open it in an existing window?

ahfx avatar Mar 17 '21 01:03 ahfx

related, It would be useful to be able to add the current directory (from the Terminus Shell) as a folder to the current sublime project

ahfx avatar Mar 19 '21 16:03 ahfx

Hi @ahfx - for Linux I have a plugin at https://github.com/jongiddy/sublime-gidopen that provides both of these capabilities by right-clicking on the path name in Terminus (or any other view).

jongiddy avatar Apr 09 '21 11:04 jongiddy

That opens the file in a new sublime window. Unless there is a setting I can configure to only open it in an existing window?

there is probably an issue with your subl command because by default subl opens in the last active window, which is the window containing Terminus is you are executing it from Terminus. Did you alias subl to subl -w ?

gwenzek avatar Jul 21 '21 21:07 gwenzek