■掲示板に戻る■ 1- 最新10

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 でも一緒なんで覚えておいて損はないよね


次10 前10 最新10
NAME:MAIL:

read.cgi ver5.26+ (01/10/21-)