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