2011年10月28日

缩写查阅

摘要: rhs: right hand side. 用于表示等号右边的值。lhs: left hand side. 等号左边的值。 阅读全文

posted @ 2011-10-28 10:51 LateStop 阅读(211) 评论(0) 推荐(0)

VIM配置-逐步改进

摘要: 关于缩进============"将缩进风格设置为C-Styleset cindent "将Shift键的宽度设置为4,即每次手动按下Tab键,将移动四个字符的距离set tabstop=4 "number of spaces to use for indent,即设置缩进的宽度set shiftwidth=4"设置public protected private这些C++声明 置于所在代码块的N个字符后"个人习惯于这些关键字位于行首,即与大括号对齐,不缩进。"要通过设置cindent option来进行设置,如下:set cino= 阅读全文

posted @ 2011-10-28 10:18 LateStop 阅读(282) 评论(0) 推荐(0)

导航