xyzzyでruby開発をするためのメモ。

セットアップ

;; template-insert.lの設定
(require "template-insert")
(use-package "template-insert")   <- ""でくくること。
(setq *template-insert-directory* "~/insert/")

カスタマイズ(キーバインド変更)

  • other-windowを別のキー(デフォルトはC-x o)に割り当てる場合の.xyzzyの記述方法。

; other-windows コマンドを別に割り当てる
(global-set-key '(#\C-x #\n) 'other-window)

  • これで、C-x n で異なるウィンドウに切り替えることができるようになる。