Home // Blog
Home // Notice
Home // Tag Log
Home // Location Log
Home // Media Log
Home // GuestBook
vim, 파일별로 indentation 하기
Posted at 2008/03/21 21:15 //
in Tips/Utility programs //
by
소스코드등에서 파일별로 indentation이 다를 때는
코드에 주석으로 magic word 로 vim 옵션을 넣어줄 수 있습니다.
/* vi: set ts=8: */
위와 같이 소스코드에 주석을 넣으면 파일을 로드할 때 tabstop 을 8로 잡아줍니다.
I was senseless and ignorant; I was a brute beast before you.
Yet I am always with you; you hold me by my right hand.
You guide me with your counsel, and afterward you will take me into glory.
Whom have I in heaven but you?
I only have you in my life