vim6
[648:645 (01/10/19 00:16)]
>>646
そうか
たしかに「autoindent ぐらいしか…」って書いてあったね
ちょっと不親切だったか
今さらかもしれんが ~/.vimrc に書くなら
if has("cindent")
autocmd FileType c,cpp set cindent cinoptions=(0
endif
ついでなんで
>>641
ex モードの s コマンドは「次の任意の一文字」が区切り文字になる
つまり
s/\/home\/hoge/\/home\/hage/
は
s:/home/hoge:/home/hage:
とも書けるわけだ
sed や perl でも一緒なんで覚えておいて損はないよね
read.cgi ver5.26+ (01/10/21-)