문서의 선택한 두 판 사이의 차이를 보여줍니다.
양쪽 이전 판 이전 판 | |||
application:vim:fileformat [2007/09/25 23:28] starlits |
application:vim:fileformat [2009/12/28 23:30] (현재) starlits |
||
---|---|---|---|
줄 67: | 줄 67: | ||
===== Fixing Inconsistent Line Endings ===== | ===== Fixing Inconsistent Line Endings ===== | ||
- | - If you have extra leading or trailing characters (^M in unix or ^J in mac), use **: | + | - If you have extra leading or trailing characters (^M in unix or ^J in mac), use **:%s/\r/'' |
- If you have long lines (mac line-ends with ff=dos or unix, unix line ends with ff=mac), use **: | - If you have long lines (mac line-ends with ff=dos or unix, unix line ends with ff=mac), use **: | ||
- If you are curious, the reasoning behind this methodology appears below. | - If you are curious, the reasoning behind this methodology appears below. | ||
+ | |||
===== The Nitty-Gritty (핵심) ===== | ===== The Nitty-Gritty (핵심) ===== |