Use Karabiner to map your Mac's built-in keyboard, HHKB

Source: Internet
Author: User
Tags delete key


Mapping the Mac built-in keyboard, HHKB using Karabiner table of Contents
    • 1. Introduction
    • 2. What are the basic instructions for Karabiner and configuration methods
    • 3. Built-in keyboard settings
    • 4. HHKB Settings
    • 5. General Settings
    • 6. Content to be perfected
1Introduction

Since the use of Mac, after a series of tossing:

    • Bought a hhkb Pro 2 TypeS, feel really good, better than the built-in keyboard, is a little bit hard.
    • Editing software changed from Vim to Emacs
    • Use ITerm2 as a common terminal
    • Some common software and so on

There is no pressure to work with your Mac now.

However, the internal keyboard and hhkb different keys, Mac system shortcuts, Emacs shortcuts, iTerm2 shortcuts are not the same, each switch may use a few sets of keyboard shortcuts, very inconvenient, affect mood and efficiency, so it is necessary to do keyboard mapping and unification.

After finding, experiment, found that karabiner very good realization of the above functions, keyboard operation of a fluid like. Let me use the default keyboard settings, are very not used to.

Next I first put the Mac built-in keyboard and HHKB mapping method method briefly explained below.
My configuration is:

    • Change your Mac's built-in keyboard to HHKB keys
    • Change the HHKB delete key to the location of the built-in keyboard (because the DELETE key is just the ring finger a stretch on the press)
    • Two keyboards are added ' –>control so as to be symmetrical with left Control, ambidextrous
2What are the basic instructions for Karabiner and configuration methods

Karabinar is a keyboard mapping tool for Mac, open Source, formerly known as Keyremap4macbook.
https://github.com/tekezo/Karabiner/
Https://pqrs.org/osx/karabiner/document.html

The settings are mainly through "preference".
You can create different profiles, such as: You can set different profiles for a two-block keyboard. Each profile can be set individually.

Karabinar provides us with a number of preset options that can be checked directly in "Change Key", and if not enough, you can edit private.xml by "Custom Setting" in "Misc & Uninstall". After editing, you need to refresh the selection in "Change Key" in "Reload XML".

3Built-in keyboard settings

Use the "default" setting. The main is to set the CapsLock key to the control key:

Disable the CapsLock key for the system
System Preferences –> keyboard –> modifier key, set CapsLock to No action
Set CapsLock to F19 via Seil
Download and install Seil, select Change the CAPS LOCK key to (F19)
Set F19 to escape and control
Custom shortcuts->f19 to Escape and Control. So click this button, that is, ESC, the combination of other keys is control
4HHKB settings

Added "hhkb" profile, mainly set \ Key to delete:

    • Tick "change backslash (\) key, backslash (\) to Delete".
    • In "Change Delete Key", tick "delete to backslash (\)" and "Shift+delete to Pipe (|)"
5Common settings

Two keyboards are added ' –>control so that the left Control can be symmetrical:
Modify the Private.xml to add the following configuration:

<item>        <name>quote to quote</name>        <appendix> (+ if you type Quote + key, send Control_ L + key) </appendix>        <identifier>remap.quote2quote_controll</identifier>        <autogen >__keyoverlaidmodifier__ keycode::quote, keycode::control_l, keycode::quote</autogen>
</item>

Both the default and HHKB two profiles are checked.

6Content to be perfected

Two profiles now need to be manually switched, some trouble, if you can insert hhkb after the automatic switch is good.

Author:galaxy

created:2015-04-24 Fri 22:46

Emacs 24.4.1 (ORG mode 8.2.10)

Validate

Use Karabiner to map a Mac's built-in keyboard, HHKB

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.