Terminus icon indicating copy to clipboard operation
Terminus copied to clipboard

How can I use cmd-. to close the shell?

Open field2 opened this issue 3 years ago • 2 comments

This isn't an issue, but I didn't know where to ask. I'd like to hit CMD-. to terminal the active shell in Terminus, like I can in Mac terminal. Is there a way to do this, and if so, how? Thanks for any advice.

field2 avatar Jun 16 '22 14:06 field2

did you try setting key bindings?

{ "keys": ["super+-"], "command": "terminus_close", "context": [{ "key": "terminus_view"}] },

masterguuooo avatar Jun 22 '22 02:06 masterguuooo

Thanks for the suggestion. I copy/pasted that code into my key bindings but it doesn't have any effect. I changed the - to a . so I could use cmd-. but that just closes the terminus tab-I want it to exit the running process like it does in the native Terminal app. I basically want cmd-. to have the same effect as ctrl-c (I'm on Mac OS) the way it does in Terminal.

field2 avatar Jul 01 '22 15:07 field2