emacs

shellモードのコマンド履歴サーチ

zsh_historyを使って検索します。 以下のコードを.emacsに追加しました。 (defvar anything-c-source-shell-history `((name . ".zsh_history") (init . (lambda () (with-current-buffer (anything-candidate-buffer 'global) (insert-file-contents "~/.zs…

最近読んでる本

emacsの設定ファイル(.emacs)とかのカスタマイズを自分でできるように買いました。 Lispは拡張性が高い関数型言語というだけあって、 今まで勉強してきた言語( C,C++,Ruby,Shell)とかと比べて文法や書式が全然違って読み進めるのにかなり苦労しています。On …

.emacsの編集

先日rubikitchさんがブログで書いていた画面分割&移動の処理を追加 http://d.hatena.ne.jp/rubikitch/20100210/emacs (defun other-window-or-split () (interactive) (when (one-window-p) (split-window-horizontally)) (other-window 1)) (global-set-ke…