2010-01-01から1日間の記事一覧

comment-dwim

vim

Emacs の comment-dwim もどきを作ってみた。 何年も前からこれが欲しかったのだ。 AppendComment.vim と違って noet ならタブを入れる。 http://vimwiki.net/?scripts%2F8 " Emacs comment-dwim like commenging plugin " nnoremap <Esc>; :call <SID>CommentDwim()<CR> i</cr></sid></esc>…

新年の抱負

今年は Linux のデバイスドライバでなんか作る。

初期 ex は en と呼ばれていた?

vim

The Traditional Vi の ex_cmdsub.c より。 /* * z command; print windows of text in the file. * * If this seems unreasonably arcane, the reasons * are historical. This is one of the first commands * added to the first ex (then called en) and…