잊지 않겠습니다.

'vimrc'에 해당되는 글 1건

  1. 2009.09.09 주로 사용하는 vimrc 값
set nocompatible
source $VIMRUNTIME/vimrc_example.vim
source $VIMRUNTIME/mswin.vim
behave mswin

set diffexpr=MyDiff()
function MyDiff()
  let opt = '-a --binary '
  if &diffopt =~ 'icase' | let opt = opt . '-i ' | endif
  if &diffopt =~ 'iwhite' | let opt = opt . '-b ' | endif
  let arg1 = v:fname_in
  if arg1 =~ ' ' | let arg1 = '"' . arg1 . '"' | endif
  let arg2 = v:fname_new
  if arg2 =~ ' ' | let arg2 = '"' . arg2 . '"' | endif
  let arg3 = v:fname_out
  if arg3 =~ ' ' | let arg3 = '"' . arg3 . '"' | endif
  let eq = ''
  if $VIMRUNTIME =~ ' '
    if &sh =~ '\<cmd'
      let cmd = '""' . $VIMRUNTIME . '\diff"'
      let eq = '"'
    else
      let cmd = substitute($VIMRUNTIME, ' ', '" ', '') . '\diff"'
    endif
  else
    let cmd = $VIMRUNTIME . '\diff'
  endif
  silent execute '!' . cmd . ' ' . opt . arg1 . ' ' . arg2 . ' > ' . arg3 . eq
endfunction

set gfn=나눔고딕코딩:h10:cANSI
set bdlay=100
set backspace=indent,eol,start
set number
set ai
set ts=4
set sw=4
"set vb  " visual bell
set background=dark

"
" geometry setting
set lines=57
set columns=120
winpos 0 0

"
" Color scheme
highlight Normal     guifg=Grey80 guibg=Black
highlight Search     guifg=Black guibg=lightred
highlight Visual     guifg=Grey25
highlight Cursor     guifg=Black guibg=lightblue
highlight Special    guifg=Orange
highlight Comment    guifg=#80a0ff
highlight StatusLine guifg=darkcyan  guibg=white
highlight Statement  guifg=Orange gui=NONE
highlight Type      gui=NONE
저작자 표시 비영리 변경 금지
신고
Posted by xyzlast Y2K
TAG , ,


티스토리 툴바