E D R , A S I H C RSS

Vim Setting For Python

Python Programming „ œ„ํ•œ VIM Setting.

ธฐณธ …‹ํŒ…

Python extension

Seminar:VimEditorฐธกฐ.

BicycleRepairMan

Python extension ด „˜œ ƒํƒœ—„œ ‚ฌšฉ €Šฅํ•˜‹ค.

Python extension „ „˜ํ•˜ณ  ‚œ’ค, BicycleRepairMan „ install ํ•œ‹ค. ทธฆฌณ  BRM ˜ ••ถ•ํ™”— ide-integration/bike.vim „ VIM „˜ ”” ‰ํ† ฆฌ—   ˆํžˆ ณต‚ฌํ•ด€‹ค.

_vimrc ํ™”— ‹คŒ„ ถ”€ํ•œ‹ค.
~cpp 
let g:bike_exceptions = 1 
let g:bike_progress = 1 
source $VIMRUNTIME/bike.vim 

BRM ˜ ฆฌํŒฉํ† ง ธฐŠฅ„ ดšฉํ• •ŒŠ” ฆฌํŒฉํ† ง „ ํ•ด‹ ํ™”„ BRM— Import ํ•ด–ด• ํ•œ‹ค.

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
Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2021-02-07 05:28:22
Processing time 0.0256 sec