0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

DvorakAdvent Calendar 2015

Day 16

Karabiner(旧KeyRemap4Macbook)(Mac OS X)

Posted at

Dvorak Advent Calendar 16日目.


Karabiner

キーリマップや押下時間などの調整ができるMac OS Xのソフト.
OS標準の機能で変更できないキーをこれでリマップできます.

SandSも設定可能

Dvorak - SandS - Qiita

多分,この設定で機能すると思います.

オリジナルキーマップ

独自のキーリマップにも対応しており,以下の様にxmlで設定可能です.
xmlの場所は ~/Library/Application Support/Karabiner/private.xml

private.xml
<?xml version="1.0"?>
<root>
	<item>
	<name>Change F13 to CURSOR_UP</name>
	<identifier>Change F13 to CURSOR_UP</identifier>
	<autogen>__KeyToKey__ KeyCode::F13, KeyCode::CURSOR_UP</autogen>
	</item>

	<item>
	<name>Change KEYPAD_SLASH to CURSOR_LEFT</name>
	<identifier>Change KEYPAD_SLASH to CURSOR_LEFT</identifier>
	<autogen>__KeyToKey__ KeyCode::KEYPAD_SLASH, KeyCode::CURSOR_LEFT</autogen>
	</item>

	<item>
	<name>Change HOME to CURSOR_DOWN</name>
	<identifier>Change HOME to CURSOR_DOWN</identifier>
	<autogen>__KeyToKey__ KeyCode::HOME, KeyCode::CURSOR_DOWN</autogen>
	</item>

	<item>
	<name>Change PAGEUP to CURSOR_RIGHT</name>
	<identifier>Change PAGEUP to CURSOR_RIGHT</identifier>
	<autogen>__KeyToKey__ KeyCode::PAGEUP, KeyCode::CURSOR_RIGHT</autogen>
	</item>

	<item>
	<name>Change FORWARD_DELETE to HOME</name>
	<identifier>Change FORWARD_DELETE to HOME</identifier>
	<autogen>__KeyToKey__ KeyCode::FORWARD_DELETE, KeyCode::HOME</autogen>
	</item>

	<item>
	<name>Change CONTROL_R to END</name>
	<identifier>Change CONTROL_R to END</identifier>
	<autogen>__KeyToKey__ KeyCode::CONTROL_R, KeyCode::END</autogen>
	</item>

	<item>
	<name>Change SHIFT_R to PAGEUP</name>
	<identifier>Change SHIFT_R to PAGEUP</identifier>
	<autogen>__KeyToKey__ KeyCode::SHIFT_R, KeyCode::PAGEUP</autogen>
	</item>

	<item>
	<name>Change END to PAGEDOWN</name>
	<identifier>Change END to PAGEDOWN</identifier>
	<autogen>__KeyToKey__ KeyCode::END, KeyCode::PAGEDOWN</autogen>
	</item>


</root>

現在のキーが何に割り当てられているのかを調査するEventViewer機能も便利です.

詳細はマニュアルを読んでみてください.
マニュアル - Karabiner - OS X用のソフトウェア

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?