v.vim (299B)
1 if !has('python') && !has('python3') 2 finish 3 endif 4 5 function! RemoveComments() 6 if has('python') 7 pyfile ~/.vim/plugin/rc.py 8 elseif has('python3') 9 py3file ~/.vim/plugin/rc.py 10 endif 11 endfunc 12 13 command! Rc call RemoveComments() 14 map , :Rc<CR>