1
我有一個CSS,並且有點瘋狂。我喜歡把我的冒號放在同一列(我知道,並非所有人都同意這一點......)。VIM - 製表css
我怎麼能問Vim在一個特定的列上設置所有的冒號 - 比如說20 th列?
我的想法是格式化這個代碼:
body {
3 font-family: sans-serif;
4 background-color: #315481;
5 background-image: linear-gradient(to bottom, #315481, #918e82 100%);
6 background-attachment: fixed;
7
8 position: absolute;
9 top: 0;
10 bottom: 0;
11 left: 0;
12 right: 0;
13
14 padding: 0;
15 margin: 0;
16
17 font-size: 14px;
18 }
19
20 .container {
21 max-width: 600px;
22 margin: 0 auto;
23 min-height: 100%;
24 background: white;
25 }
這樣的: