Saturday, July 27, 2024
Home Apple keyboard – Disable Command-W in the terminal

keyboard – Disable Command-W in the terminal

0
161


keyboard – Disable Command-W in the terminal – Ask Different
















Ask Different is a question and answer site for power users of Apple hardware and software. It only takes a minute to sign up.

Sign up to join this community

Anybody can ask a question

Anybody can answer

The best answers are voted up and rise to the top

Asked

Viewed
29k times

Is there any way to disable Command+W in the terminal?

On several occasions I have accidentally closed a terminal window containing important information when I meant to close a Safari tab and did not realize that the terminal was the active window.

Also worth mentioning BetterTouchTool (http://www.bettertouchtool.net/)

I wanted to have both W & C both perform Copy (muscle memory, don’t ask). The native method only allows you one key per command, with BTT I was able to have both keys mapped to same command, while also avoid the undesired Close WIndow behaviour

You must log in to answer this question.

Not the answer you’re looking for? Browse other questions tagged .

lang-bash

 

Channel969