본문 바로가기
Programming/Linux

VI 설정 저장 방법

by NAMP 2009. 3. 8.
# 자신의 홈디렉토리에 있는 .vimrc 파일에 해당 설정을 적어둔다.
~/.vimrc
set nocp
set ts=4
set sw=4
set showmode
set ai
set nu


# 환경변수에 해당 설정을 넣어둔다. (.bash_profile)
EXINIT='set nu ai ts=4 sw=4 syn on'
export EXINIT


'Programming > Linux' 카테고리의 다른 글

shell - 파일 다루기  (0) 2009.03.08
cmd - ulimit  (0) 2009.03.08
bash (Bourn-again shell)  (0) 2009.03.04
우분투 설치하기  (0) 2009.02.12
[펌] GDB 사용법  (0) 2009.02.05

댓글