# Mac Laptop Diagonal Keys with Karabiner

**URL:** https://discourse.cataclysmdda.org/t/mac-laptop-diagonal-keys-with-karabiner/11062
**Category:** The Lab
**Created:** [December 11, 2015, 1:16am UTC](https://discourse.cataclysmdda.org/t/mac-laptop-diagonal-keys-with-karabiner/11062 "2015-12-11T01:16:06Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![waylandsmith](https://avatars.discourse-cdn.com/v4/letter/w/a9adbd/32.png) [@waylandsmith](https://discourse.cataclysmdda.org/u/waylandsmith)
#### Post date: [December 11, 2015, 1:16am UTC](https://discourse.cataclysmdda.org/t/mac-laptop-diagonal-keys-with-karabiner/11062/1 "2015-12-11T01:16:06Z")

</div>

I just wanted to share this somewhere people could find it.

As an alternative to usiing VI keys or the number keys to move diagonally I’ve created the following script for Karabiner that allows you to hold down two cursor keys at the same time.

```auto
<?xml version="1.0"?>
<root>
  <appdef>
    <appname>cataclysmdda</appname>
    <equal>com.cataclysmdda.en.cataclysm</equal>
  </appdef>
  <item>
    <name>Inside private.xml</name>
	<item>
	  <only>cataclysmdda</only>
      <name>Two cursors to diagonal numbers in Cataclysm DDA</name>
      <appendix>Simultaneous arrow keys presses to 7/9/1/3</appendix>
      <appendix>(Up+Left to 7)</appendix>
      <appendix>(Up+Right to 9)</appendix>
      <appendix>(Down+Left to 1)</appendix>
      <appendix>(Down+Right to 3)</appendix>
      <identifier>private.simcursor_to_numberpad_cursor</identifier>
      <autogen> __SimultaneousKeyPresses__ KeyCode::CURSOR_UP, KeyCode::CURSOR_LEFT, KeyCode::KEY_7</autogen>
      <autogen> __SimultaneousKeyPresses__ KeyCode::CURSOR_UP, KeyCode::CURSOR_RIGHT, KeyCode::KEY_9</autogen>
      <autogen> __SimultaneousKeyPresses__ KeyCode::CURSOR_DOWN, KeyCode::CURSOR_LEFT, KeyCode::KEY_1</autogen>
      <autogen> __SimultaneousKeyPresses__ KeyCode::CURSOR_DOWN, KeyCode::CURSOR_RIGHT, KeyCode::KEY_3</autogen>
    </item>
    </item>
</root>

```
