Desde el terminal:
- Para exportar las preferencias
$ /Applications/Karabiner.app/Contents/Library/bin/karabiner export > ~/Desktop/karabiner-import.sh
- Para importarlas, el file tiene que estar en el desktop:
$ sh ~/Desktop/karabiner-import.sh
| #!/bin/sh | |
| cli=/Applications/Karabiner.app/Contents/Library/bin/karabiner | |
| $cli set private.keypad_dot_to_dot 1 | |
| /bin/echo -n . | |
| $cli set remap.pc_scrolllock2f13 1 | |
| /bin/echo -n . | |
| $cli set remap.pc_insert2optionLinsert 1 | |
| /bin/echo -n . | |
| $cli set remap.controlL2commandL_exvm 1 | |
| /bin/echo -n . | |
| $cli set remap.commandR2controlL 1 | |
| /bin/echo -n . | |
| $cli set remap.app_term_meta_movement 1 | |
| /bin/echo -n . | |
| $cli set remap.pc_pause2power 1 | |
| /bin/echo -n . | |
| $cli set remap.pclikehomeend 1 | |
| /bin/echo -n . | |
| $cli set remap.pc_printscreen2f12 1 | |
| /bin/echo -n . | |
| $cli set remap.firefox_style_tab_switching_in_safari 1 | |
| /bin/echo -n . | |
| $cli set remap.controlR2commandR 1 | |
| /bin/echo -n . | |
| $cli set repeat.initial_wait 583 | |
| /bin/echo -n . | |
| $cli set remap.commandL2controlL_exvm 1 | |
| /bin/echo -n . | |
| $cli set repeat.wait 33 | |
| /bin/echo -n . | |
| $cli set private.enter_to_return_in_terminal 1 | |
| /bin/echo -n . | |
| $cli set private.numpad_number_terminal 1 | |
| /bin/echo -n . | |
| $cli set remap.expose_mode2 1 | |
| /bin/echo -n . | |
| /bin/echo |
Desde el terminal:
$ /Applications/Karabiner.app/Contents/Library/bin/karabiner export > ~/Desktop/karabiner-import.sh
$ sh ~/Desktop/karabiner-import.sh
| <?xml version="1.0"?> | |
| <root> | |
| <item> | |
| <name>Change Keypad Dot Key to Dot Key in Termimal</name> | |
| <only>TERMINAL</only> | |
| <identifier>private.keypad_dot_to_dot</identifier> | |
| <autogen>__KeyToKey__ KeyCode::KEYPAD_DOT, KeyCode::DOT</autogen> | |
| </item> | |
| <item> | |
| <name>Change ENTER to RETURN in Termimal</name> | |
| <only>TERMINAL</only> | |
| <identifier>private.enter_to_return_in_terminal</identifier> | |
| <autogen>__KeyToKey__ KeyCode::ENTER, KeyCode::RETURN</autogen> | |
| </item> | |
| <item> | |
| <name>Change NumPad numbers in Termimal</name> | |
| <only>TERMINAL</only> | |
| <identifier>private.numpad_number_terminal</identifier> | |
| <autogen>__KeyToKey__ KeyCode::KEYPAD_1, KeyCode::KEY_1</autogen> | |
| <autogen>__KeyToKey__ KeyCode::KEYPAD_2, KeyCode::KEY_2</autogen> | |
| <autogen>__KeyToKey__ KeyCode::KEYPAD_3, KeyCode::KEY_3</autogen> | |
| <autogen>__KeyToKey__ KeyCode::KEYPAD_4, KeyCode::KEY_4</autogen> | |
| <autogen>__KeyToKey__ KeyCode::KEYPAD_5, KeyCode::KEY_5</autogen> | |
| <autogen>__KeyToKey__ KeyCode::KEYPAD_6, KeyCode::KEY_6</autogen> | |
| <autogen>__KeyToKey__ KeyCode::KEYPAD_7, KeyCode::KEY_7</autogen> | |
| <autogen>__KeyToKey__ KeyCode::KEYPAD_8, KeyCode::KEY_8</autogen> | |
| <autogen>__KeyToKey__ KeyCode::KEYPAD_9, KeyCode::KEY_9</autogen> | |
| <autogen>__KeyToKey__ KeyCode::KEYPAD_0, KeyCode::KEY_0</autogen> | |
| <autogen>__KeyToKey__ KeyCode::KEYPAD_PLUS, KeyCode::BRACKET_RIGHT</autogen> | |
| <autogen>__KeyToKey__ KeyCode::KEYPAD_MINUS, KeyCode::SLASH</autogen> | |
| </item> | |
| </root> |