Hacker News new | past | comments | ask | show | jobs | submit login

I have the opposite problem. There's one command - I think it's probably <C-w> (split screens in Vim) that I always hit every time I'm using a Mac, and it inevitably closes my entire terminal.

The nice thing about Linux is that I can at least remap these keybindings. On OS X, it's literally impossible to do a perfect remapping of the keys (trust me. I've tried.)

Hopefully I've saved recently (or run the process inside GNU screen....).




Cmd-W in OSX is default for close window, so that's probably it.

You say you've tried to fix it.. Have you tried these?

In Terminal.app, find the setting for "don't close this window unless no commands are running", and select it.

Or, in System Prefs/Keyboard/mappings or somesuch, override Cmd-W in Terminal.app to a noop.


If by <C-w> you mean control-w (I'm a vi user and don't know!), also take a look here: http://news.ycombinator.com/item?id=4497258


No, I already remap Caps_Lock to Esc - much more useful.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: