syntax on
set lines=35
set columns=120
set so=7 " Set 7 lines to the cursor - when moving vertical...
set ignorecase
set hlsearch " Highlight search things
set magic " for regular expression
set showmatch " Show matching bracets
set showcmd " Display incomplete commands
set smartindent
set number
set ruler
colorscheme darkblue
set tabstop=4
set shiftwidth=4
set expandtab
set bs=2 " Enable the use of BackSpace key...
----------------------------------------------------------------------
리눅스 버전: .vimrc
syntax on
set lines=35
set columns=120
set so=7 " Set 7 lines to the cursor - when moving vertical...
set ignorecase
set hlsearch " Highlight search things
set magic " for regular expression
set showmatch " Show matching bracets
set showcmd " Display incomplete commands
set smartindent
set number
set ruler
colorscheme darkblue
" Tab key를 space 4칸으로 바꾸기. for Haskell layout rule...
" 다음 순서대로 기술한다.
set tabstop=4 "Tab을 space 4칸으로 고정한다.
set shiftwidth=4 "indentation시마다 space를 숫자만큼 넣는다.
set expandtab "Tab key를 못쓰게 한다. Tab 코드를 넣고 싶으면... ctr-V
" Tab key 사항 끝.

No comments:
Post a Comment