forked from colonelpanic/dotfiles
Add hyper key.
This commit is contained in:
@@ -5271,7 +5271,7 @@
|
||||
<key>NSWindow Frame UKCrashReporter</key>
|
||||
<string>99 294 592 584 0 0 1440 878 </string>
|
||||
<key>NSWindow Frame iTerm Window 0</key>
|
||||
<string>4 476 570 401 0 0 1440 877 </string>
|
||||
<string>4 446 717 431 0 0 1440 877 </string>
|
||||
<key>New Bookmarks</key>
|
||||
<array>
|
||||
<dict>
|
||||
@@ -6071,7 +6071,7 @@
|
||||
<key>SUHasLaunchedBefore</key>
|
||||
<true/>
|
||||
<key>SULastCheckTime</key>
|
||||
<date>2014-10-23T02:09:31Z</date>
|
||||
<date>2014-10-24T09:47:01Z</date>
|
||||
<key>SavePasteHistory</key>
|
||||
<false/>
|
||||
<key>Show Toolbelt</key>
|
||||
@@ -6113,7 +6113,7 @@
|
||||
<key>WebKitDefaultFontSize</key>
|
||||
<integer>11</integer>
|
||||
<key>WebKitStandardFont</key>
|
||||
<string>Lucida Grande</string>
|
||||
<string>.Helvetica Neue DeskInterface</string>
|
||||
<key>WindowNumber</key>
|
||||
<true/>
|
||||
<key>WindowStyle</key>
|
||||
|
17
resources/karabiner-hyper.xml
Normal file
17
resources/karabiner-hyper.xml
Normal file
@@ -0,0 +1,17 @@
|
||||
<?xml version="1.0"?>
|
||||
<root>
|
||||
<item>
|
||||
<name>Remap Right Command to Hyper</name>
|
||||
<appendix>OS X doesn't have a Hyper. This maps PC Application Key to Control + Shift + Option + Command.</appendix>
|
||||
|
||||
<identifier>imalison.right_command_to_hyper</identifier>
|
||||
|
||||
<autogen>
|
||||
--KeyToKey--
|
||||
KeyCode::COMMAND_R,
|
||||
|
||||
KeyCode::COMMAND_L,
|
||||
ModifierFlag::OPTION_L | ModifierFlag::SHIFT_L | ModifierFlag::CONTROL_L
|
||||
</autogen>
|
||||
</item>
|
||||
</root>
|
13
resources/karabiner_config.sh
Executable file
13
resources/karabiner_config.sh
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/bin/sh
|
||||
|
||||
cli=/Applications/Karabiner.app/Contents/Library/bin/karabiner
|
||||
|
||||
$cli set mange.pc_app_to_hyper 1
|
||||
/bin/echo -n .
|
||||
$cli set repeat.initial_wait 300
|
||||
/bin/echo -n .
|
||||
$cli set repeat.wait 11
|
||||
/bin/echo -n .
|
||||
$cli set imalison.right_command_to_hyper 1
|
||||
/bin/echo -n .
|
||||
/bin/echo
|
Reference in New Issue
Block a user