Skip to content

Vim editor .vimrc

Centell edited this page Feb 19, 2020 · 1 revision

Vim editor - .vimrc

vim 에디터 이쁘게 사용하기 – Sunhyoup’s Story – Medium

$ vi ~/.vimrc
  1 " Syntax Highlighting
  2 if has("syntax")
  3   syntax on
  4 endif
  5 
  6 " Indent
  7 set autoindent
  8 set cindent
  9 set ts=2 " Tab width(tag select)
 10 set shiftwidth=2 " Autoindent width
 11 
 12 " Set line number
 13 set nu
 14 
 15 " Status bar
 16 set laststatus=2 " Activate status bar
 17 set statusline=\ %<%l:%v\ [%P]%=%a\ %h%m%r\ %F\
 18 
 19 " Highlight
 20 set showmatch " Highlight same bracket

Clone this wiki locally