set nocompatible source $VIMRUNTIME/mswin.vim behave mswin " Daybreaker's 개인 설정 "lang english scripte utf-8 let $LANG='ko.utf-8' set nobackup set hlsearch incsearch set ruler nowrap nu showcmd sm set report=0 ls=2 bs=2 set magic sol set ts=4 tw=200 sw=4 sts=4 nuw=5 set ai ci si syntax on set ffs=dos,unix,mac ff=unix set tenc=cp949 enc=utf-8 set fencs=utf-8,cp949,cp932,shift-jis,big5,latin1,latin2,ucs-2le set fenc=utf-8 set bomb autocmd BufWinEnter *.c,*.cpp,*.php,*.html,*.css :silent loadview autocmd BufWinLeave *.c,*.cpp,*.php,*.html,*.css :mkview autocmd BufNewFile,BufRead *.phps,*.php3s setf php " set list lcs=tab:>-,trail:- if has("gui_running") function s:MenuBar() if stridx(&guioptions, 'm') == -1 set go+=T go+=m else set go-=T go-=m endif endfunction map :call MenuBar() call MenuBar() endif " Console window open in the current file's directory, by Tokigun if has("win32") fu! s:Console() let l:path = iconv(expand("%:p:h"), &enc, &tenc) silent exe "! start /d \"" . l:path . "\"" endf nmap C :call Console() endif function MyHomeKey() let l:column = col('.') execute "normal ^" if l:column == col('.') execute "normal 0" endif endfunction " gvim7 specific settings imap map! :call MyHomeKey() map :call MyHomeKey() se omnifunc=syntaxcomplete#Complete map j gj map k gk map gt map 1gt| map 2gt| map 3gt| map 4gt map 5gt| map 6gt| map 7gt| map 8gt map 9gt| map 10gt map :tabnew map :tabclose set guifont=Lucida_Sans_Typewriter:h9:cANSI set guifontwide=DotumChe:h10:cDEFAULT colorscheme desert winsize 120 45