Help us understand the problem. What is going on with this article?

OS X Yosemite の日本語入力で常時半角スペースにする方法

More than 5 years have passed since last update.

概要

OS X Yosemite から日本語入力がことえりから JapaneseIM になりましたが、
従来の defaults コマンドによる半角スペース入力設定がきかなくなってしまったようです。

設定ファイルを変更する必要があるので、メモしておきます。

手順

  1. /System/Library/Input Methods/JapaneseIM.app/Contents/Resources/KeySetting_*.plist をバックアップする
    • cd /System/Library/Input\ Methods/JapaneseIM.app/Contents/Resources
    • tar czf ~/JapaneseIM_KeySetting.tar.gz KeySetting_*.plist
    • 次でパッチをあてるので、カレントディレクトリはそのまま
  2. Space -> 半角スペース、Shift+Space -> 全角スペース となるように設定を修正するパッチを当てる
    • curl -sL https://gist.githubusercontent.com/comutt/dd0a03bdc81e2660ea07/raw/003f1c44891280f813233235e11dbb0dcfd7bdce/KeySetting.diff | sudo patch -p1
  3. JapaneseIM を再起動する
    • sudo killall -HUP JapaneseIM

情報元

comuttun
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした