LoginSignup
6
8

More than 5 years have passed since last update.

Emacsインストール/設定

Last updated at Posted at 2014-10-13

インストール

brew uninstall emacs 

brew update

brew install --with-gnutls --japanese emacs

以下を実行するとApplicationsにAliasが作成される

brew linkapps

設定

設定ファイルを作成

emacs ~/.emacs.d/init.el

ターミナルの環境設定... > 設定 > キーボードの中にある「メタキーとして option キーを使用」をチェック

control + spaceを無効化
システム環境設定で「キーボードとマウス」-「キーボードショートカット」で「Spotlight検索フィールドを表示する」のチェックを外す

今使ってる設定ファイル

Mac+iterm2でoptionキーをMetaキーとして使う場合

iterm -> Preference -> Profiles -> Keys -> Left option key acts as "+Esc"
設定ファイルに以下を追加

(setq mac-option-key-is-meta t)

MELPAからインストールしたパッケージを更新

M-x list-packages [RETURN] U [RETURN] x [RETURN]
6
8
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
6
8