문서의 선택한 두 판 사이의 차이를 보여줍니다.
| 양쪽 이전 판 이전 판 다음 판 | 이전 판 | ||
|
wiki:os:unix:editor:vi [2023/01/13 18:44] 127.0.0.1 바깥 편집 |
wiki:os:unix:editor:vi [2023/06/01 11:40] (현재) dhan |
||
|---|---|---|---|
| 줄 1: | 줄 1: | ||
| - | ====== VI ====== | + | ====== VI, VIM ====== |
| <WRAP left notice 80%> | <WRAP left notice 80%> | ||
| * description : VI 사용법 및 Tip 기술 | * description : VI 사용법 및 Tip 기술 | ||
| 줄 9: | 줄 9: | ||
| ===== Case Study ===== | ===== Case Study ===== | ||
| + | .vimrc 설정 | ||
| + | <code bash> | ||
| + | filetype plugin indent on | ||
| + | " show existing tab with 4 spaces width | ||
| + | set tabstop=4 | ||
| + | " when indenting with '>', | ||
| + | set shiftwidth=4 | ||
| + | " On pressing tab, insert 4 spaces | ||
| + | set expandtab | ||
| + | </ | ||
| + | > [[https:// | ||
| 파일내 ^M 제거 | 파일내 ^M 제거 | ||
| < | < | ||
| 줄 41: | 줄 52: | ||
| + | {{tag> | ||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | {{tag> | ||