设置.indent.pro
July 10, 2008 on 9:06 am | In Tech |为了将原来linux下用的顺手的indent移到freebsd下用,要设下.indent.pro
原来用-nut -st -orig,其中
The style of the original Berkeley indent may be obtained by specifying `-orig?(or by specifying `–original? using the long option name). This style is equivalent to the following settings:
-nbad -nbap -bbo -bc -br -brs -c33 -cd33 -cdb -ce -ci4 -cli0
-cp33 -di16 -fc1 -fca -hnl -i4 -ip4 -l75 -lp -npcs -nprs -psl
-saf -sai -saw -sc -nsob -nss -ts8
由于freebsd下的indent与linux的有些不同,并不是所有选项都能对应的上,有些不是很要紧的就去掉了。.indent.pro的内容
-nbad
-nbap
-nbbb
-nbc
-br
-c33
-cd33
-cdb
-ce
-ci4
-cli0
-di16
-ndj
-ei
-fbs
-fc1
-fcb
-i4
-ip
-l78
-lp
-npcs
-psl
-sc
-nsob
-st
-nut
-nv
做个备忘
No Comments yet »
RSS feed for comments on this post. TrackBack URI
Leave a comment
Powered by WordPress with Pool theme design by Borja Fernandez.
Entries and comments feeds.
Valid XHTML and CSS. ^Top^