Search:
Login
Preferences
Help/Guide
About Trac
Wiki
Timeline
Roadmap
Browse Source
View Tickets
Search
Context Navigation
←
Previous Change
Wiki History
Next Change
→
Changes between
Version 2
and
Version 3
of
wade/vi
View differences
inline
side by side
Show
lines around each change
Show the changes in full context
Ignore:
Blank lines
Case changes
White space changes
Timestamp:
Apr 1, 2013, 11:06:30 PM (
12 years
ago)
Author:
wade
Comment:
--
Legend:
Unmodified
Added
Removed
Modified
wade/vi
v2
v3
2
2
3
3
= Setting =
4
* set autoindent
” 开启自动缩进
5
* set shiftwidth=4
” 自动缩进4个
空格
6
* set softtabstop=4
” shiftwidth和tabstop不一样的话,你会发现程序比较难看的。
4
* set autoindent
開啟自動縮排
5
* set shiftwidth=4
自動縮排 4
空格
6
* set softtabstop=4
shiftwidth 和 tabstop 盡量一致
7
7
* " "註解用
8
8