Command+Left and Command+Right are both incredibly useful key combinations. By contrast, Command+Up and Command+Down are incredibly irritating. I almost never actually need a shortcut to the top of the document. 99 times out of 100, when I press Command+Up or Command+Down, it's by accident, usually when meaning to press one of the useful combinations. Is there any way to switch those two off?
1 Answer
You can use KeyRemap4MacBook with a private.xml such as this:
<?xml version="1.0"?>
<root>
<item>
<name>Disable ⌘↑ and ⌘↓</name>
<identifier>DisableCMDUPandCMDDOWN</identifier>
<autogen>
__KeyToKey__
KeyCode::CURSOR_UP, VK_COMMAND | ModifierFlag::NONE,
KeyCode::VK_NONE
</autogen>
<autogen>
__KeyToKey__
KeyCode::CURSOR_DOWN, VK_COMMAND | ModifierFlag::NONE,
KeyCode::VK_NONE
</autogen>
</item>
</root>
Just CURSOR_UP, VK_COMMAND
without | ModifierFlag::NONE
would also disable for example option-command-up.