Aquamacs Emacs + ParEdit のキー割当

In: Programming

17 12月 2009

あー、やっぱりemacsもいいかも。
emacsはLisp系言語の扱いには強いなぁ・・って当然か。

Clojure関係のスライドをあさっていたら洗脳されました(笑)
SlideShare | Paredit Preso

emacsというより ParEdit が素晴らしい。
さっそく Aquamacs Emacs をインストールしてParEditを設定してみた。

あれ? ParEdit CheatSheet にある動作で再現できないものがある。

paredit-backward-kill-word (M-DEL) がただの単語削除になってしまう。
pareditモードでキー割当を調べてみたところ、該当する関数が割り当てられていない。

OS X だからなのか Aquamacs だからなのかは判らないけど
とりあえず emacsの設定ファイルに以下を追加することで解決できた。

(eval-after-load 'paredit
  '(define-key paredit-mode-map (kbd "M-<backspace>")
     'paredit-backward-kill-word))
blog comments powered by Disqus
Get Adobe Flash playerPlugin by wpburn.com wordpress themes

About this blog

私 manjilab のポータル的サイトになっております。日々気付いたこと、考えたこと、発表したいものを載せていきます。

Photostream

    Lisp indent 考察Lisp indent 考察Lisp indent 考察Lisp indent 考察Lisp indent 考察Tips to use Clojure(Lisp) with TextMateTips to use Clojure(Lisp) with TextMateTips to use Clojure(Lisp) with TextMate