[완료]vim 설정을 다음과 같이 쓰는데요..

kkume의 이미지

~/.vimrc

set ts=8
set sts=4
set sw=4
set et
set syntax=on
set nocp incsearch
set formatoptions=tcq
set cindent
set smartindent
set nohlsearch
set nu

이렇게 놓고 쓰면 탭이 공백으로 들어 가는데요.. Makefile 만들때 탭이 들어 가야 하는데.. 그럴때는 어떻게 하면 되죠? .vimrc 파일을 바꾸지 않고요.

Scarecrow의 이미지

Quote:
To insert a real tab when 'expandtab' is on, use CTRL-V < Tab >.

즉 CTRL-V < Tab > 하면 됩니다.