1
vi ~/.vimrc
위 명령어 사용 후 아래 내용 입력
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
set nu
set ai
set si
set expandtab
set cindent
set autoindent
set smartindent
set sts=4
set ts=4
set shiftwidth=4
set wmnu
set laststatus=2
set ignorecase
set hlsearch
set nocompatible
set mouse=a
set ruler
set fileencodings=utf=8,euc-kr
set fencs=ucs=bom,utf-8,euc-kr
set showmatch
syntax on
filetype indent on
set bs=indent,eol,start
set title
set autoread
set autowrite