emacs

yaml-mode

install $ cd ~/.emacs.d/site-lisp/ $ curl -O http://tweedle-dee.org/svn/emacs.d/site-lisp/yaml-mode.el $ cat > ~/.emacs.d/init.el(require 'yaml-mode) EOF

emacs自動改行

M-x auto-fill-mode C+u 80 C+x f init.el ;; text-mode時は自動的に auto-fill-mode をonにする (add-hook 'text-mode-hook 'turn-on-auto-fill)

emacs memo

lispは呪文過ぎて毎度目を背けている。 memoload-path確認方法 C-x b *scratch* load-pathC-j mew install $ git clone git://github.com/kazu-yamamoto/Mew.git $ cd Mew $ ./configure --with-emacs=/Applications/Emacs.app/Contents/MacOS/Emacs $ make …

nginx-mode

nginxのconfを弄るのが不便だったので探したらやっぱりあった nginx-mode設定 $ test -d ~/.emacs.d || mkdir ~/.emacs.d $ cd ~/.emacs.d $ git clone https://github.com/noxyu3m/nginx-mode.git $ git clone https://github.com/ajc/nginx-mode.git $ cat…

emacs html5 mode

emacs html5 mode https://github.com/hober/html5-elsetup $ mkdir ~/code $ git clone https://github.com/hober/html5-el.git $ cd html5-el.git $ make relaxng$ cp -ip ~/.emacs{,.$(date "+%Y%m%d")} $ cat > ~/.emacs > > ;; html5 mode > (add-to-li…