rendered paste bodyset 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 <silent> <F10> :call <SID>MenuBar()<cr>
call <SID>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 <silent> <Leader>C :call <SID>Console()<CR>
endif
function MyHomeKey()
let l:column = col('.')
execute "normal ^"
if l:column == col('.')
execute "normal 0"
endif
endfunction
" gvim7 specific settings
imap <C-Space> <C-X><C-N>
map! <silent> <Home> <C-O>:call MyHomeKey()<cr>
map <silent> <Home> :call MyHomeKey()<cr>
se omnifunc=syntaxcomplete#Complete
map j gj
map k gk
map <C-Tab> gt
map <M-1> 1gt| map <M-2> 2gt| map <M-3> 3gt| map <M-4> 4gt
map <M-5> 5gt| map <M-6> 6gt| map <M-7> 7gt| map <M-8> 8gt
map <M-9> 9gt| map <M-0> 10gt
map <M-n> :tabnew<cr>
map <M-q> :tabclose<cr>
set guifont=Lucida_Sans_Typewriter:h9:cANSI
set guifontwide=DotumChe:h10:cDEFAULT
colorscheme desert
winsize 120 45