Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
field2 opened this issue Jun 16, 2022 · 2 comments
Open

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

field2 opened this issue Jun 16, 2022 · 2 comments

Comments

@field2
Copy link

field2 commented Jun 16, 2022

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.

@masterguuooo
Copy link

did you try setting key bindings?

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

@field2
Copy link
Author

field2 commented Jul 1, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants