Python Programming ์ ์ํ VIM Setting.
๊ธฐ๋ณธ ์ ํ ¶
BicycleRepairMan ¶
Python extension ์ด ์ค์น๋ ์ํ์์ ์ฌ์ฉ ๊ฐ๋ฅํ๋ค.
Python extension ์ ์ค์นํ๊ณ ๋๋ค, BicycleRepairMan ์ install ํ๋ค. ๊ทธ๋ฆฌ๊ณ BRM ์ ์์ถํ์ผ์ ide-integration/bike.vim ์ VIM ์ค์น ๋๋ ํ ๋ฆฌ์ ์ ์ ํ ๋ณต์ฌํด์ค๋ค.
_vimrc ํ์ผ์ ๋ค์์ ์ถ๊ฐํ๋ค.
BRM ์ ๋ฆฌํฉํ ๋ง ๊ธฐ๋ฅ์ ์ด์ฉํ ๋๋ ๋ฆฌํฉํ ๋ง์ ํด๋น ํ์ผ์ BRM์ Import ํด์ฃผ์ด์ผ ํ๋ค.
~cpp let g:bike_exceptions = 1 let g:bike_progress = 1 source $VIMRUNTIME/bike.vim
1002's Setting ¶
์์ง ๋จ์ถํค๋ค์ ์๋ฒฝํ๊ฒ ์
ํ
ํ์ง ์์ ์ํ์ด๊ธด ํ๋ค. ๋๋ต ๋ค์์ ์
ํ
์ ๋ณด๋ฉด์ ์กฐ๊ธ์ฉ ๊ณ ์ณ๋๊ฐ๋ฉด ์ข์ ๋ฏ ํ๋ค.
~cpp set nocompatible source $VIMRUNTIME/vimrc_example.vim "source $VIMRUNTIME/mswin.vim "behave mswin set diffexpr=MyDiff() function MyDiff() let opt = '' if &diffopt =~ 'icase' | let opt = opt . '-i ' | endif if &diffopt =~ 'iwhite' | let opt = opt . '-b ' | endif silent execute '!C:Vimvim62diff -a ' . opt . v:fname_in . ' ' . v:fname_new . ' > ' . v:fname_out endfunction syn on set nonu title set ai showmatch hidden incsearch ignorecase smartcase smartindent hlsearch set et ts=4 sw=4 softtabstop=4 smarttab expandtab set autowrite set fileencoding=korea set foldminlines=3 set nofen set lines=40 set co=80 set ru set smd filetype on filetype plugin on filetype indent on source $VIMRUNTIME/1002/python.vim source $VIMRUNTIME/1002/python_box.vim source $VIMRUNTIME/1002/EnhancedCommentify.vim let g:EnhCommentifyUseAltKeys = "no" let g:EnhCommentifyPretty = "yes" let g:bike_exceptions = 1 let g:bike_progress = 1 source $VIMRUNTIME/1002/bike.vim hi Normal guibg=#FFFFEE map <F5> :wa <CR> :!python % <CR> map <F6> :!pythonw.exe "C:Python23Toolsidleidle.pyw"<CR> map <F11> <C-W>_ map <F3> :call PythonCommentSelection()<CR> map <F4> :call PythonUncommentSelection()<CR> map <C-F5> :wa <CR> :!python test_all.py <CR> let python_highlight_all = 1