Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I constantly split my terminal windows accidentally by pressing Cmd+D (it's so close to Cmd+F). I have no idea how to undo this. Any ideas?

share|improve this question
up vote 28 down vote accepted

To undo the split, press Shift+Cmd+D (you can also do it from the View > Close Split Pane menu option).

If you wish to reassign the keyboard shortcut for View > Split Pane (Cmd+D) to something else to prevent anything from happening when you accidentally press Cmd+D, you can do it by going to System Preferences > Keyboard > Keyboard Shortcuts, adding the and entering the menu title (Split Pane) with a different shortcut.

Terminal keyboard shortcuts (from dashkards): Terminal keyboard shortcuts

Also see:
Apple - Create keyboard shortcuts for applications

share|improve this answer
Amazing. Thanks. – Accipheran Oct 11 '13 at 7:03
What a life saver! Thanks! – Miguel Mota Mar 23 '15 at 22:04

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.