Commits

Anonymous committed e8b9e6b Draft

add script to convert fileformat to unix

Comments (0)

Files changed (23)

 temp
 .git
 vimfiles
+pyc

bundle/ColorSamplerPack/colors/ir_black.vim

-" ir_black color scheme
-" More at: http://blog.infinitered.com
-
-
-" ********************************************************************************
-" Standard colors used in all ir_black themes:
-" Note, x:x:x are RGB values
-"
-"  normal: #f6f3e8
-" 
-"  string: #A8FF60  168:255:96                   
-"    string inner (punc, code, etc): #00A0A0  0:160:160
-"  number: #FF73FD  255:115:253                 
-"  comments: #7C7C7C  124:124:124
-"  keywords: #96CBFE  150:203:254             
-"  operators: white
-"  class: #FFFFB6  255:255:182
-"  method declaration name: #FFD2A7  255:210:167
-"  regular expression: #E9C062  233:192:98
-"    regexp alternate: #FF8000  255:128:0
-"    regexp alternate 2: #B18A3D  177:138:61
-"  variable: #C6C5FE  198:197:254
-"  
-" Misc colors:
-"  red color (used for whatever): #FF6C60   255:108:96 
-"     light red: #FFB6B0   255:182:176
-"
-"  brown: #E18964  good for special
-"
-"  lightpurpleish: #FFCCFF
-" 
-" Interface colors:
-"  background color: black
-"  cursor (where underscore is used): #FFA560  255:165:96
-"  cursor (where block is used): white
-"  visual selection: #1D1E2C  
-"  current line: #151515  21:21:21
-"  search selection: #07281C  7:40:28
-"  line number: #3D3D3D  61:61:61
-
-
-" ********************************************************************************
-" The following are the preferred 16 colors for your terminal
-"           Colors      Bright Colors
-" Black     #4E4E4E     #7C7C7C
-" Red       #FF6C60     #FFB6B0
-" Green     #A8FF60     #CEFFAB
-" Yellow    #FFFFB6     #FFFFCB
-" Blue      #96CBFE     #B5DCFE
-" Magenta   #FF73FD     #FF9CFE
-" Cyan      #C6C5FE     #DFDFFE
-" White     #EEEEEE     #FFFFFF
-
-
-" ********************************************************************************
-set background=dark
-hi clear
-
-if exists("syntax_on")
-  syntax reset
-endif
-
-let colors_name = "ir_black"
-
-
-"hi Example         guifg=NONE        guibg=NONE        gui=NONE      ctermfg=NONE        ctermbg=NONE        cterm=NONE
-
-" General colors
-hi Normal           guifg=#f6f3e8     guibg=black       gui=NONE      ctermfg=NONE        ctermbg=NONE        cterm=NONE
-hi NonText          guifg=#070707     guibg=black       gui=NONE      ctermfg=black       ctermbg=NONE        cterm=NONE
-
-hi Cursor           guifg=black       guibg=white       gui=NONE      ctermfg=black       ctermbg=white       cterm=reverse
-hi LineNr           guifg=#3D3D3D     guibg=black       gui=NONE      ctermfg=darkgray    ctermbg=NONE        cterm=NONE
-
-hi VertSplit        guifg=#202020     guibg=#202020     gui=NONE      ctermfg=darkgray    ctermbg=darkgray    cterm=NONE
-hi StatusLine       guifg=#CCCCCC     guibg=#202020     gui=italic    ctermfg=white       ctermbg=darkgray    cterm=NONE
-hi StatusLineNC     guifg=black       guibg=#202020     gui=NONE      ctermfg=blue        ctermbg=darkgray    cterm=NONE  
-
-hi Folded           guifg=#a0a8b0     guibg=#384048     gui=NONE      ctermfg=NONE        ctermbg=NONE        cterm=NONE
-hi Title            guifg=#f6f3e8     guibg=NONE        gui=bold      ctermfg=NONE        ctermbg=NONE        cterm=NONE
-hi Visual           guifg=NONE        guibg=#262D51     gui=NONE      ctermfg=NONE        ctermbg=NONE        cterm=REVERSE
-
-hi SpecialKey       guifg=#808080     guibg=#343434     gui=NONE      ctermfg=NONE        ctermbg=NONE        cterm=NONE
-
-hi WildMenu         guifg=green       guibg=yellow      gui=NONE      ctermfg=black       ctermbg=yellow      cterm=NONE
-hi PmenuSbar        guifg=black       guibg=white       gui=NONE      ctermfg=black       ctermbg=white       cterm=NONE
-"hi Ignore           guifg=gray        guibg=black       gui=NONE      ctermfg=NONE        ctermbg=NONE        cterm=NONE
-
-hi Error            guifg=NONE        guibg=NONE        gui=undercurl ctermfg=white       ctermbg=red         cterm=NONE     guisp=#FF6C60 " undercurl color
-hi ErrorMsg         guifg=white       guibg=#FF6C60     gui=BOLD      ctermfg=white       ctermbg=red         cterm=NONE
-hi WarningMsg       guifg=white       guibg=#FF6C60     gui=BOLD      ctermfg=white       ctermbg=red         cterm=NONE
-hi LongLineWarning  guifg=NONE        guibg=#371F1C     gui=underline ctermfg=NONE        ctermbg=NONE	      cterm=underline
-
-" Message displayed in lower left, such as --INSERT--
-hi ModeMsg          guifg=black       guibg=#C6C5FE     gui=BOLD      ctermfg=black       ctermbg=cyan        cterm=BOLD
-
-if version >= 700 " Vim 7.x specific colors
-  hi CursorLine     guifg=NONE        guibg=#121212     gui=NONE      ctermfg=NONE        ctermbg=NONE        cterm=BOLD
-  hi CursorColumn   guifg=NONE        guibg=#121212     gui=NONE      ctermfg=NONE        ctermbg=NONE        cterm=BOLD
-  hi MatchParen     guifg=#f6f3e8     guibg=#857b6f     gui=BOLD      ctermfg=white       ctermbg=darkgray    cterm=NONE
-  hi Pmenu          guifg=#f6f3e8     guibg=#444444     gui=NONE      ctermfg=NONE        ctermbg=NONE        cterm=NONE
-  hi PmenuSel       guifg=#000000     guibg=#cae682     gui=NONE      ctermfg=NONE        ctermbg=NONE        cterm=NONE
-  hi Search         guifg=NONE        guibg=#2F2F00     gui=underline ctermfg=NONE        ctermbg=NONE	      cterm=underline
-endif
-
-" Syntax highlighting
-hi Comment          guifg=#7C7C7C     guibg=NONE        gui=NONE      ctermfg=darkgray    ctermbg=NONE        cterm=NONE
-hi String           guifg=#A8FF60     guibg=NONE        gui=NONE      ctermfg=green       ctermbg=NONE        cterm=NONE
-hi Number           guifg=#FF73FD     guibg=NONE        gui=NONE      ctermfg=magenta     ctermbg=NONE        cterm=NONE
-
-hi Keyword          guifg=#96CBFE     guibg=NONE        gui=NONE      ctermfg=blue        ctermbg=NONE        cterm=NONE
-hi PreProc          guifg=#96CBFE     guibg=NONE        gui=NONE      ctermfg=blue        ctermbg=NONE        cterm=NONE
-hi Conditional      guifg=#6699CC     guibg=NONE        gui=NONE      ctermfg=blue        ctermbg=NONE        cterm=NONE  " if else end
-
-hi Todo             guifg=#8f8f8f     guibg=NONE        gui=NONE      ctermfg=red         ctermbg=NONE        cterm=NONE
-hi Constant         guifg=#99CC99     guibg=NONE        gui=NONE      ctermfg=cyan        ctermbg=NONE        cterm=NONE
-
-hi Identifier       guifg=#C6C5FE     guibg=NONE        gui=NONE      ctermfg=cyan        ctermbg=NONE        cterm=NONE
-hi Function         guifg=#FFD2A7     guibg=NONE        gui=NONE      ctermfg=brown       ctermbg=NONE        cterm=NONE
-hi Type             guifg=#FFFFB6     guibg=NONE        gui=NONE      ctermfg=yellow      ctermbg=NONE        cterm=NONE
-hi Statement        guifg=#6699CC     guibg=NONE        gui=NONE      ctermfg=lightblue   ctermbg=NONE        cterm=NONE
-
-hi Special          guifg=#E18964     guibg=NONE        gui=NONE      ctermfg=white       ctermbg=NONE        cterm=NONE
-hi Delimiter        guifg=#00A0A0     guibg=NONE        gui=NONE      ctermfg=cyan        ctermbg=NONE        cterm=NONE
-hi Operator         guifg=white       guibg=NONE        gui=NONE      ctermfg=white       ctermbg=NONE        cterm=NONE
-
-hi link Character       Constant
-hi link Boolean         Constant
-hi link Float           Number
-hi link Repeat          Statement
-hi link Label           Statement
-hi link Exception       Statement
-hi link Include         PreProc
-hi link Define          PreProc
-hi link Macro           PreProc
-hi link PreCondit       PreProc
-hi link StorageClass    Type
-hi link Structure       Type
-hi link Typedef         Type
-hi link Tag             Special
-hi link SpecialChar     Special
-hi link SpecialComment  Special
-hi link Debug           Special
-
-
-" Special for Ruby
-hi rubyRegexp                  guifg=#B18A3D      guibg=NONE      gui=NONE      ctermfg=brown          ctermbg=NONE      cterm=NONE
-hi rubyRegexpDelimiter         guifg=#FF8000      guibg=NONE      gui=NONE      ctermfg=brown          ctermbg=NONE      cterm=NONE
-hi rubyEscape                  guifg=white        guibg=NONE      gui=NONE      ctermfg=cyan           ctermbg=NONE      cterm=NONE
-hi rubyInterpolationDelimiter  guifg=#00A0A0      guibg=NONE      gui=NONE      ctermfg=blue           ctermbg=NONE      cterm=NONE
-hi rubyControl                 guifg=#6699CC      guibg=NONE      gui=NONE      ctermfg=blue           ctermbg=NONE      cterm=NONE  "and break, etc
-"hi rubyGlobalVariable          guifg=#FFCCFF      guibg=NONE      gui=NONE      ctermfg=lightblue      ctermbg=NONE      cterm=NONE  "yield
-hi rubyStringDelimiter         guifg=#336633      guibg=NONE      gui=NONE      ctermfg=lightgreen     ctermbg=NONE      cterm=NONE
-"rubyInclude
-"rubySharpBang
-"rubyAccess
-"rubyPredefinedVariable
-"rubyBoolean
-"rubyClassVariable
-"rubyBeginEnd
-"rubyRepeatModifier
-"hi link rubyArrayDelimiter    Special  " [ , , ]
-"rubyCurlyBlock  { , , }
-
-hi link rubyClass             Keyword 
-hi link rubyModule            Keyword 
-hi link rubyKeyword           Keyword 
-hi link rubyOperator          Operator
-hi link rubyIdentifier        Identifier
-hi link rubyInstanceVariable  Identifier
-hi link rubyGlobalVariable    Identifier
-hi link rubyClassVariable     Identifier
-hi link rubyConstant          Type  
-
-
-" Special for Java
-" hi link javaClassDecl    Type
-hi link javaScopeDecl         Identifier 
-hi link javaCommentTitle      javaDocSeeTag 
-hi link javaDocTags           javaDocSeeTag 
-hi link javaDocParam          javaDocSeeTag 
-hi link javaDocSeeTagParam    javaDocSeeTag 
-
-hi javaDocSeeTag              guifg=#CCCCCC     guibg=NONE        gui=NONE      ctermfg=darkgray    ctermbg=NONE        cterm=NONE
-hi javaDocSeeTag              guifg=#CCCCCC     guibg=NONE        gui=NONE      ctermfg=darkgray    ctermbg=NONE        cterm=NONE
-"hi javaClassDecl              guifg=#CCFFCC     guibg=NONE        gui=NONE      ctermfg=white       ctermbg=NONE        cterm=NONE
-
-
-" Special for XML
-hi link xmlTag          Keyword 
-hi link xmlTagName      Conditional 
-hi link xmlEndTag       Identifier 
-
-
-" Special for HTML
-hi link htmlTag         Keyword 
-hi link htmlTagName     Conditional 
-hi link htmlEndTag      Identifier 
-
-
-" Special for Javascript
-hi link javaScriptNumber      Number 
-
-
-" Special for Python
-"hi  link pythonEscape         Keyword      
-
-
-" Special for CSharp
-hi  link csXmlTag             Keyword      
-
-
-" Special for PHP
-
+" ir_black color scheme
+" More at: http://blog.infinitered.com
+
+
+" ********************************************************************************
+" Standard colors used in all ir_black themes:
+" Note, x:x:x are RGB values
+"
+"  normal: #f6f3e8
+" 
+"  string: #A8FF60  168:255:96                   
+"    string inner (punc, code, etc): #00A0A0  0:160:160
+"  number: #FF73FD  255:115:253                 
+"  comments: #7C7C7C  124:124:124
+"  keywords: #96CBFE  150:203:254             
+"  operators: white
+"  class: #FFFFB6  255:255:182
+"  method declaration name: #FFD2A7  255:210:167
+"  regular expression: #E9C062  233:192:98
+"    regexp alternate: #FF8000  255:128:0
+"    regexp alternate 2: #B18A3D  177:138:61
+"  variable: #C6C5FE  198:197:254
+"  
+" Misc colors:
+"  red color (used for whatever): #FF6C60   255:108:96 
+"     light red: #FFB6B0   255:182:176
+"
+"  brown: #E18964  good for special
+"
+"  lightpurpleish: #FFCCFF
+" 
+" Interface colors:
+"  background color: black
+"  cursor (where underscore is used): #FFA560  255:165:96
+"  cursor (where block is used): white
+"  visual selection: #1D1E2C  
+"  current line: #151515  21:21:21
+"  search selection: #07281C  7:40:28
+"  line number: #3D3D3D  61:61:61
+
+
+" ********************************************************************************
+" The following are the preferred 16 colors for your terminal
+"           Colors      Bright Colors
+" Black     #4E4E4E     #7C7C7C
+" Red       #FF6C60     #FFB6B0
+" Green     #A8FF60     #CEFFAB
+" Yellow    #FFFFB6     #FFFFCB
+" Blue      #96CBFE     #B5DCFE
+" Magenta   #FF73FD     #FF9CFE
+" Cyan      #C6C5FE     #DFDFFE
+" White     #EEEEEE     #FFFFFF
+
+
+" ********************************************************************************
+set background=dark
+hi clear
+
+if exists("syntax_on")
+  syntax reset
+endif
+
+let colors_name = "ir_black"
+
+
+"hi Example         guifg=NONE        guibg=NONE        gui=NONE      ctermfg=NONE        ctermbg=NONE        cterm=NONE
+
+" General colors
+hi Normal           guifg=#f6f3e8     guibg=black       gui=NONE      ctermfg=NONE        ctermbg=NONE        cterm=NONE
+hi NonText          guifg=#070707     guibg=black       gui=NONE      ctermfg=black       ctermbg=NONE        cterm=NONE
+
+hi Cursor           guifg=black       guibg=white       gui=NONE      ctermfg=black       ctermbg=white       cterm=reverse
+hi LineNr           guifg=#3D3D3D     guibg=black       gui=NONE      ctermfg=darkgray    ctermbg=NONE        cterm=NONE
+
+hi VertSplit        guifg=#202020     guibg=#202020     gui=NONE      ctermfg=darkgray    ctermbg=darkgray    cterm=NONE
+hi StatusLine       guifg=#CCCCCC     guibg=#202020     gui=italic    ctermfg=white       ctermbg=darkgray    cterm=NONE
+hi StatusLineNC     guifg=black       guibg=#202020     gui=NONE      ctermfg=blue        ctermbg=darkgray    cterm=NONE  
+
+hi Folded           guifg=#a0a8b0     guibg=#384048     gui=NONE      ctermfg=NONE        ctermbg=NONE        cterm=NONE
+hi Title            guifg=#f6f3e8     guibg=NONE        gui=bold      ctermfg=NONE        ctermbg=NONE        cterm=NONE
+hi Visual           guifg=NONE        guibg=#262D51     gui=NONE      ctermfg=NONE        ctermbg=NONE        cterm=REVERSE
+
+hi SpecialKey       guifg=#808080     guibg=#343434     gui=NONE      ctermfg=NONE        ctermbg=NONE        cterm=NONE
+
+hi WildMenu         guifg=green       guibg=yellow      gui=NONE      ctermfg=black       ctermbg=yellow      cterm=NONE
+hi PmenuSbar        guifg=black       guibg=white       gui=NONE      ctermfg=black       ctermbg=white       cterm=NONE
+"hi Ignore           guifg=gray        guibg=black       gui=NONE      ctermfg=NONE        ctermbg=NONE        cterm=NONE
+
+hi Error            guifg=NONE        guibg=NONE        gui=undercurl ctermfg=white       ctermbg=red         cterm=NONE     guisp=#FF6C60 " undercurl color
+hi ErrorMsg         guifg=white       guibg=#FF6C60     gui=BOLD      ctermfg=white       ctermbg=red         cterm=NONE
+hi WarningMsg       guifg=white       guibg=#FF6C60     gui=BOLD      ctermfg=white       ctermbg=red         cterm=NONE
+hi LongLineWarning  guifg=NONE        guibg=#371F1C     gui=underline ctermfg=NONE        ctermbg=NONE	      cterm=underline
+
+" Message displayed in lower left, such as --INSERT--
+hi ModeMsg          guifg=black       guibg=#C6C5FE     gui=BOLD      ctermfg=black       ctermbg=cyan        cterm=BOLD
+
+if version >= 700 " Vim 7.x specific colors
+  hi CursorLine     guifg=NONE        guibg=#121212     gui=NONE      ctermfg=NONE        ctermbg=NONE        cterm=BOLD
+  hi CursorColumn   guifg=NONE        guibg=#121212     gui=NONE      ctermfg=NONE        ctermbg=NONE        cterm=BOLD
+  hi MatchParen     guifg=#f6f3e8     guibg=#857b6f     gui=BOLD      ctermfg=white       ctermbg=darkgray    cterm=NONE
+  hi Pmenu          guifg=#f6f3e8     guibg=#444444     gui=NONE      ctermfg=NONE        ctermbg=NONE        cterm=NONE
+  hi PmenuSel       guifg=#000000     guibg=#cae682     gui=NONE      ctermfg=NONE        ctermbg=NONE        cterm=NONE
+  hi Search         guifg=NONE        guibg=#2F2F00     gui=underline ctermfg=NONE        ctermbg=NONE	      cterm=underline
+endif
+
+" Syntax highlighting
+hi Comment          guifg=#7C7C7C     guibg=NONE        gui=NONE      ctermfg=darkgray    ctermbg=NONE        cterm=NONE
+hi String           guifg=#A8FF60     guibg=NONE        gui=NONE      ctermfg=green       ctermbg=NONE        cterm=NONE
+hi Number           guifg=#FF73FD     guibg=NONE        gui=NONE      ctermfg=magenta     ctermbg=NONE        cterm=NONE
+
+hi Keyword          guifg=#96CBFE     guibg=NONE        gui=NONE      ctermfg=blue        ctermbg=NONE        cterm=NONE
+hi PreProc          guifg=#96CBFE     guibg=NONE        gui=NONE      ctermfg=blue        ctermbg=NONE        cterm=NONE
+hi Conditional      guifg=#6699CC     guibg=NONE        gui=NONE      ctermfg=blue        ctermbg=NONE        cterm=NONE  " if else end
+
+hi Todo             guifg=#8f8f8f     guibg=NONE        gui=NONE      ctermfg=red         ctermbg=NONE        cterm=NONE
+hi Constant         guifg=#99CC99     guibg=NONE        gui=NONE      ctermfg=cyan        ctermbg=NONE        cterm=NONE
+
+hi Identifier       guifg=#C6C5FE     guibg=NONE        gui=NONE      ctermfg=cyan        ctermbg=NONE        cterm=NONE
+hi Function         guifg=#FFD2A7     guibg=NONE        gui=NONE      ctermfg=brown       ctermbg=NONE        cterm=NONE
+hi Type             guifg=#FFFFB6     guibg=NONE        gui=NONE      ctermfg=yellow      ctermbg=NONE        cterm=NONE
+hi Statement        guifg=#6699CC     guibg=NONE        gui=NONE      ctermfg=lightblue   ctermbg=NONE        cterm=NONE
+
+hi Special          guifg=#E18964     guibg=NONE        gui=NONE      ctermfg=white       ctermbg=NONE        cterm=NONE
+hi Delimiter        guifg=#00A0A0     guibg=NONE        gui=NONE      ctermfg=cyan        ctermbg=NONE        cterm=NONE
+hi Operator         guifg=white       guibg=NONE        gui=NONE      ctermfg=white       ctermbg=NONE        cterm=NONE
+
+hi link Character       Constant
+hi link Boolean         Constant
+hi link Float           Number
+hi link Repeat          Statement
+hi link Label           Statement
+hi link Exception       Statement
+hi link Include         PreProc
+hi link Define          PreProc
+hi link Macro           PreProc
+hi link PreCondit       PreProc
+hi link StorageClass    Type
+hi link Structure       Type
+hi link Typedef         Type
+hi link Tag             Special
+hi link SpecialChar     Special
+hi link SpecialComment  Special
+hi link Debug           Special
+
+
+" Special for Ruby
+hi rubyRegexp                  guifg=#B18A3D      guibg=NONE      gui=NONE      ctermfg=brown          ctermbg=NONE      cterm=NONE
+hi rubyRegexpDelimiter         guifg=#FF8000      guibg=NONE      gui=NONE      ctermfg=brown          ctermbg=NONE      cterm=NONE
+hi rubyEscape                  guifg=white        guibg=NONE      gui=NONE      ctermfg=cyan           ctermbg=NONE      cterm=NONE
+hi rubyInterpolationDelimiter  guifg=#00A0A0      guibg=NONE      gui=NONE      ctermfg=blue           ctermbg=NONE      cterm=NONE
+hi rubyControl                 guifg=#6699CC      guibg=NONE      gui=NONE      ctermfg=blue           ctermbg=NONE      cterm=NONE  "and break, etc
+"hi rubyGlobalVariable          guifg=#FFCCFF      guibg=NONE      gui=NONE      ctermfg=lightblue      ctermbg=NONE      cterm=NONE  "yield
+hi rubyStringDelimiter         guifg=#336633      guibg=NONE      gui=NONE      ctermfg=lightgreen     ctermbg=NONE      cterm=NONE
+"rubyInclude
+"rubySharpBang
+"rubyAccess
+"rubyPredefinedVariable
+"rubyBoolean
+"rubyClassVariable
+"rubyBeginEnd
+"rubyRepeatModifier
+"hi link rubyArrayDelimiter    Special  " [ , , ]
+"rubyCurlyBlock  { , , }
+
+hi link rubyClass             Keyword 
+hi link rubyModule            Keyword 
+hi link rubyKeyword           Keyword 
+hi link rubyOperator          Operator
+hi link rubyIdentifier        Identifier
+hi link rubyInstanceVariable  Identifier
+hi link rubyGlobalVariable    Identifier
+hi link rubyClassVariable     Identifier
+hi link rubyConstant          Type  
+
+
+" Special for Java
+" hi link javaClassDecl    Type
+hi link javaScopeDecl         Identifier 
+hi link javaCommentTitle      javaDocSeeTag 
+hi link javaDocTags           javaDocSeeTag 
+hi link javaDocParam          javaDocSeeTag 
+hi link javaDocSeeTagParam    javaDocSeeTag 
+
+hi javaDocSeeTag              guifg=#CCCCCC     guibg=NONE        gui=NONE      ctermfg=darkgray    ctermbg=NONE        cterm=NONE
+hi javaDocSeeTag              guifg=#CCCCCC     guibg=NONE        gui=NONE      ctermfg=darkgray    ctermbg=NONE        cterm=NONE
+"hi javaClassDecl              guifg=#CCFFCC     guibg=NONE        gui=NONE      ctermfg=white       ctermbg=NONE        cterm=NONE
+
+
+" Special for XML
+hi link xmlTag          Keyword 
+hi link xmlTagName      Conditional 
+hi link xmlEndTag       Identifier 
+
+
+" Special for HTML
+hi link htmlTag         Keyword 
+hi link htmlTagName     Conditional 
+hi link htmlEndTag      Identifier 
+
+
+" Special for Javascript
+hi link javaScriptNumber      Number 
+
+
+" Special for Python
+"hi  link pythonEscape         Keyword      
+
+
+" Special for CSharp
+hi  link csXmlTag             Keyword      
+
+
+" Special for PHP
+

bundle/python-mode/after/ftplugin/python.vim

-" Fix omnifunc
-if g:pymode && g:pymode_rope && g:pymode_rope_vim_completion
-    setlocal omnifunc=RopeOmni
-endif
-
-" Motion {{{
-
-    if !pymode#Default('g:pymode_motion', 1) || g:pymode_motion
-
-        nnoremap <buffer> ]]  :<C-U>call pymode#motion#move('^\(class\\|def\)\s', '')<CR>
-        nnoremap <buffer> [[  :<C-U>call pymode#motion#move('^\(class\\|def\)\s', 'b')<CR>
-        nnoremap <buffer> ]C  :<C-U>call pymode#motion#move('^\(class\\|def\)\s', '')<CR>
-        nnoremap <buffer> [C  :<C-U>call pymode#motion#move('^\(class\\|def\)\s', 'b')<CR>
-        nnoremap <buffer> ]M  :<C-U>call pymode#motion#move('^\s*def\s', '')<CR>
-        nnoremap <buffer> [M  :<C-U>call pymode#motion#move('^\s*def\s', 'b')<CR>
-
-        onoremap <buffer> ]]  :<C-U>call pymode#motion#move('^\(class\\|def\)\s', '')<CR>
-        onoremap <buffer> [[  :<C-U>call pymode#motion#move('^\(class\\|def\)\s', 'b')<CR>
-        onoremap <buffer> ]C  :<C-U>call pymode#motion#move('^\(class\\|def\)\s', '')<CR>
-        onoremap <buffer> [C  :<C-U>call pymode#motion#move('^\(class\\|def\)\s', 'b')<CR>
-        onoremap <buffer> ]M  :<C-U>call pymode#motion#move('^\s*def\s', '')<CR>
-        onoremap <buffer> [M  :<C-U>call pymode#motion#move('^\s*def\s', 'b')<CR>
-
-        vnoremap <buffer> ]]  :call pymode#motion#vmove('^\(class\\|def\)\s', '')<CR>
-        vnoremap <buffer> [[  :call pymode#motion#vmove('^\(class\\|def\)\s', 'b')<CR>
-        vnoremap <buffer> ]M  :call pymode#motion#vmove('^\s*def\s', '')<CR>
-        vnoremap <buffer> [M  :call pymode#motion#vmove('^\s*def\s', 'b')<CR>
-
-        onoremap <buffer> C  :<C-U>call pymode#motion#select('^\s*class\s', 0)<CR>
-        onoremap <buffer> aC :<C-U>call pymode#motion#select('^\s*class\s', 0)<CR>
-        onoremap <buffer> iC :<C-U>call pymode#motion#select('^\s*class\s', 1)<CR>
-        vnoremap <buffer> aC :<C-U>call pymode#motion#select('^\s*class\s', 0)<CR>
-        vnoremap <buffer> iC :<C-U>call pymode#motion#select('^\s*class\s', 1)<CR>
-
-        onoremap <buffer> M  :<C-U>call pymode#motion#select('^\s*def\s', 0)<CR>
-        onoremap <buffer> aM :<C-U>call pymode#motion#select('^\s*def\s', 0)<CR>
-        onoremap <buffer> iM :<C-U>call pymode#motion#select('^\s*def\s', 1)<CR>
-        vnoremap <buffer> aM :<C-U>call pymode#motion#select('^\s*def\s', 0)<CR>
-        vnoremap <buffer> iM :<C-U>call pymode#motion#select('^\s*def\s', 1)<CR>
-
-    endif
-
-" }}}
+" Fix omnifunc
+if g:pymode && g:pymode_rope && g:pymode_rope_vim_completion
+    setlocal omnifunc=RopeOmni
+endif
+
+" Motion {{{
+
+    if !pymode#Default('g:pymode_motion', 1) || g:pymode_motion
+
+        nnoremap <buffer> ]]  :<C-U>call pymode#motion#move('^\(class\\|def\)\s', '')<CR>
+        nnoremap <buffer> [[  :<C-U>call pymode#motion#move('^\(class\\|def\)\s', 'b')<CR>
+        nnoremap <buffer> ]C  :<C-U>call pymode#motion#move('^\(class\\|def\)\s', '')<CR>
+        nnoremap <buffer> [C  :<C-U>call pymode#motion#move('^\(class\\|def\)\s', 'b')<CR>
+        nnoremap <buffer> ]M  :<C-U>call pymode#motion#move('^\s*def\s', '')<CR>
+        nnoremap <buffer> [M  :<C-U>call pymode#motion#move('^\s*def\s', 'b')<CR>
+
+        onoremap <buffer> ]]  :<C-U>call pymode#motion#move('^\(class\\|def\)\s', '')<CR>
+        onoremap <buffer> [[  :<C-U>call pymode#motion#move('^\(class\\|def\)\s', 'b')<CR>
+        onoremap <buffer> ]C  :<C-U>call pymode#motion#move('^\(class\\|def\)\s', '')<CR>
+        onoremap <buffer> [C  :<C-U>call pymode#motion#move('^\(class\\|def\)\s', 'b')<CR>
+        onoremap <buffer> ]M  :<C-U>call pymode#motion#move('^\s*def\s', '')<CR>
+        onoremap <buffer> [M  :<C-U>call pymode#motion#move('^\s*def\s', 'b')<CR>
+
+        vnoremap <buffer> ]]  :call pymode#motion#vmove('^\(class\\|def\)\s', '')<CR>
+        vnoremap <buffer> [[  :call pymode#motion#vmove('^\(class\\|def\)\s', 'b')<CR>
+        vnoremap <buffer> ]M  :call pymode#motion#vmove('^\s*def\s', '')<CR>
+        vnoremap <buffer> [M  :call pymode#motion#vmove('^\s*def\s', 'b')<CR>
+
+        onoremap <buffer> C  :<C-U>call pymode#motion#select('^\s*class\s', 0)<CR>
+        onoremap <buffer> aC :<C-U>call pymode#motion#select('^\s*class\s', 0)<CR>
+        onoremap <buffer> iC :<C-U>call pymode#motion#select('^\s*class\s', 1)<CR>
+        vnoremap <buffer> aC :<C-U>call pymode#motion#select('^\s*class\s', 0)<CR>
+        vnoremap <buffer> iC :<C-U>call pymode#motion#select('^\s*class\s', 1)<CR>
+
+        onoremap <buffer> M  :<C-U>call pymode#motion#select('^\s*def\s', 0)<CR>
+        onoremap <buffer> aM :<C-U>call pymode#motion#select('^\s*def\s', 0)<CR>
+        onoremap <buffer> iM :<C-U>call pymode#motion#select('^\s*def\s', 1)<CR>
+        vnoremap <buffer> aM :<C-U>call pymode#motion#select('^\s*def\s', 0)<CR>
+        vnoremap <buffer> iM :<C-U>call pymode#motion#select('^\s*def\s', 1)<CR>
+
+    endif
+
+" }}}

bundle/python-mode/autoload/pymode.vim

-" Python-mode base functions
-
-
-fun! pymode#Default(name, default) "{{{
-    " DESC: Set default value if it not exists
-    "
-    if !exists(a:name)
-        let {a:name} = a:default
-        return 0
-    endif
-    return 1
-endfunction "}}}
-
-
-fun! pymode#QuickfixOpen(onlyRecognized, holdCursor, maxHeight, minHeight, jumpError) "{{{
-    " DESC: Open quickfix window
-    "
-    let numErrors = len(filter(getqflist(), 'v:val.valid'))
-    let numOthers = len(getqflist()) - numErrors
-    if numErrors > 0 || (!a:onlyRecognized && numOthers > 0)
-        botright copen
-        exe max([min([line("$"), a:maxHeight]), a:minHeight]) . "wincmd _"
-        if a:jumpError
-            cc
-        elseif a:holdCursor
-            wincmd p
-        endif
-    else
-        cclose
-    endif
-    redraw
-    if numOthers > 0
-        echo printf('Quickfix: %d(+%d)', numErrors, numOthers)
-    else
-        echo printf('Quickfix: %d', numErrors)
-    endif
-endfunction "}}}
-
-
-fun! pymode#PlaceSigns() "{{{
-    " DESC: Place error signs
-    "
-    sign unplace *
-    for item in filter(getqflist(), 'v:val.bufnr != ""')
-        execute printf('silent! sign place 1 line=%d name=%s buffer=%d', item.lnum, item.type, item.bufnr)
-    endfor
-endfunction "}}}
-
-
-fun! pymode#CheckProgram(name, append) "{{{
-    " DESC: Check program is executable or redifined by user.
-    "
-    let name = 'g:' . a:name
-    if pymode#Default(name, a:name)
-        return 1
-    endif
-    if !executable(eval(l:name))
-        echoerr "Can't find '".eval(name)."'. Please set ".name .", or extend $PATH, ".a:append
-        return 0
-    endif
-    return 1
-endfunction "}}}
-
-
-fun! pymode#TempBuffer() "{{{
-    " DESC: Open temp buffer.
-    "
-    pclose | botright 8new
-    setlocal buftype=nofile bufhidden=delete noswapfile nowrap previewwindow
-    redraw
-endfunction "}}}
-
-
-fun! pymode#ShowStr(str) "{{{
-    " DESC: Open temp buffer with `str`.
-    "
-    let g:pymode_curbuf = bufnr("%")
-    call pymode#TempBuffer()
-    put! =a:str
-    redraw
-    normal gg 
-    wincmd p
-endfunction "}}}
-
-
-fun! pymode#ShowCommand(cmd) "{{{
-    " DESC: Run command and open temp buffer with result
-    "
-    call pymode#TempBuffer()
-    try
-        silent exec 'r!' . a:cmd
-    catch /.*/
-        close
-        echoerr 'Command fail: '.a:cmd
-    endtry
-    redraw
-    normal gg
-    wincmd p
-endfunction "}}}
-
-
-fun! pymode#WideMessage(msg) "{{{
-    " DESC: Show wide message
-
-    let x=&ruler | let y=&showcmd
-    set noruler noshowcmd
-    redraw
-    echo strpart(a:msg, 0, &columns-1)
-    let &ruler=x | let &showcmd=y
-endfunction "}}}
-
-
-fun! pymode#BlockStart(lnum, ...) "{{{
-    let pattern = a:0 ? a:1 : '^\s*\(@\|class\s.*:\|def\s\)'
-    let lnum = a:lnum + 1
-    let indent = 100
-    while lnum
-        let lnum = prevnonblank(lnum - 1)
-        let test = indent(lnum)
-        let line = getline(lnum)
-        if line =~ '^\s*#' " Skip comments
-            continue
-        elseif !test " Zero-level regular line
-            return lnum
-        elseif test >= indent " Skip deeper or equal lines
-            continue
-        " Indent is strictly less at this point: check for def/class
-        elseif line =~ pattern && line !~ '^\s*@'
-            return lnum
-        endif
-        let indent = indent(lnum)
-    endwhile
-    return 0
-endfunction "}}}
-
-
-fun! pymode#BlockEnd(lnum, ...) "{{{
-    let indent = a:0 ? a:1 : indent(a:lnum)
-    let lnum = a:lnum
-    while lnum
-        let lnum = nextnonblank(lnum + 1)
-        if getline(lnum) =~ '^\s*#' | continue
-        elseif lnum && indent(lnum) <= indent
-            return lnum - 1
-        endif
-    endwhile
-    return line('$')
-endfunction "}}}
-
-
-" vim: fdm=marker:fdl=0
+" Python-mode base functions
+
+
+fun! pymode#Default(name, default) "{{{
+    " DESC: Set default value if it not exists
+    "
+    if !exists(a:name)
+        let {a:name} = a:default
+        return 0
+    endif
+    return 1
+endfunction "}}}
+
+
+fun! pymode#QuickfixOpen(onlyRecognized, holdCursor, maxHeight, minHeight, jumpError) "{{{
+    " DESC: Open quickfix window
+    "
+    let numErrors = len(filter(getqflist(), 'v:val.valid'))
+    let numOthers = len(getqflist()) - numErrors
+    if numErrors > 0 || (!a:onlyRecognized && numOthers > 0)
+        botright copen
+        exe max([min([line("$"), a:maxHeight]), a:minHeight]) . "wincmd _"
+        if a:jumpError
+            cc
+        elseif a:holdCursor
+            wincmd p
+        endif
+    else
+        cclose
+    endif
+    redraw
+    if numOthers > 0
+        echo printf('Quickfix: %d(+%d)', numErrors, numOthers)
+    else
+        echo printf('Quickfix: %d', numErrors)
+    endif
+endfunction "}}}
+
+
+fun! pymode#PlaceSigns() "{{{
+    " DESC: Place error signs
+    "
+    sign unplace *
+    for item in filter(getqflist(), 'v:val.bufnr != ""')
+        execute printf('silent! sign place 1 line=%d name=%s buffer=%d', item.lnum, item.type, item.bufnr)
+    endfor
+endfunction "}}}
+
+
+fun! pymode#CheckProgram(name, append) "{{{
+    " DESC: Check program is executable or redifined by user.
+    "
+    let name = 'g:' . a:name
+    if pymode#Default(name, a:name)
+        return 1
+    endif
+    if !executable(eval(l:name))
+        echoerr "Can't find '".eval(name)."'. Please set ".name .", or extend $PATH, ".a:append
+        return 0
+    endif
+    return 1
+endfunction "}}}
+
+
+fun! pymode#TempBuffer() "{{{
+    " DESC: Open temp buffer.
+    "
+    pclose | botright 8new
+    setlocal buftype=nofile bufhidden=delete noswapfile nowrap previewwindow
+    redraw
+endfunction "}}}
+
+
+fun! pymode#ShowStr(str) "{{{
+    " DESC: Open temp buffer with `str`.
+    "
+    let g:pymode_curbuf = bufnr("%")
+    call pymode#TempBuffer()
+    put! =a:str
+    redraw
+    normal gg 
+    wincmd p
+endfunction "}}}
+
+
+fun! pymode#ShowCommand(cmd) "{{{
+    " DESC: Run command and open temp buffer with result
+    "
+    call pymode#TempBuffer()
+    try
+        silent exec 'r!' . a:cmd
+    catch /.*/
+        close
+        echoerr 'Command fail: '.a:cmd
+    endtry
+    redraw
+    normal gg
+    wincmd p
+endfunction "}}}
+
+
+fun! pymode#WideMessage(msg) "{{{
+    " DESC: Show wide message
+
+    let x=&ruler | let y=&showcmd
+    set noruler noshowcmd
+    redraw
+    echo strpart(a:msg, 0, &columns-1)
+    let &ruler=x | let &showcmd=y
+endfunction "}}}
+
+
+fun! pymode#BlockStart(lnum, ...) "{{{
+    let pattern = a:0 ? a:1 : '^\s*\(@\|class\s.*:\|def\s\)'
+    let lnum = a:lnum + 1
+    let indent = 100
+    while lnum
+        let lnum = prevnonblank(lnum - 1)
+        let test = indent(lnum)
+        let line = getline(lnum)
+        if line =~ '^\s*#' " Skip comments
+            continue
+        elseif !test " Zero-level regular line
+            return lnum
+        elseif test >= indent " Skip deeper or equal lines
+            continue
+        " Indent is strictly less at this point: check for def/class
+        elseif line =~ pattern && line !~ '^\s*@'
+            return lnum
+        endif
+        let indent = indent(lnum)
+    endwhile
+    return 0
+endfunction "}}}
+
+
+fun! pymode#BlockEnd(lnum, ...) "{{{
+    let indent = a:0 ? a:1 : indent(a:lnum)
+    let lnum = a:lnum
+    while lnum
+        let lnum = nextnonblank(lnum + 1)
+        if getline(lnum) =~ '^\s*#' | continue
+        elseif lnum && indent(lnum) <= indent
+            return lnum - 1
+        endif
+    endwhile
+    return line('$')
+endfunction "}}}
+
+
+" vim: fdm=marker:fdl=0

bundle/python-mode/autoload/pymode/breakpoint.vim

-fun! pymode#breakpoint#Set(lnum) "{{{
-    let line = getline(a:lnum)
-    if strridx(line, g:pymode_breakpoint_cmd) != -1
-        normal dd
-    else
-        let plnum = prevnonblank(a:lnum)
-        call append(line('.')-1, repeat(' ', indent(plnum)).g:pymode_breakpoint_cmd)
-        normal k
-    endif
-    if &modifiable && &modified | write | endif	
-endfunction "}}}
+fun! pymode#breakpoint#Set(lnum) "{{{
+    let line = getline(a:lnum)
+    if strridx(line, g:pymode_breakpoint_cmd) != -1
+        normal dd
+    else
+        let plnum = prevnonblank(a:lnum)
+        call append(line('.')-1, repeat(' ', indent(plnum)).g:pymode_breakpoint_cmd)
+        normal k
+    endif
+    if &modifiable && &modified | write | endif	
+endfunction "}}}

bundle/python-mode/autoload/pymode/doc.vim

-" Python-mode search by documentation
-
-
-fun! pymode#doc#Show(word) "{{{
-    if a:word == ''
-        echoerr "No name/symbol under cursor!"
-    else
-        py sys.stdout, _ = StringIO.StringIO(), sys.stdout
-        py help(vim.eval('a:word'))
-        py sys.stdout, out = _, sys.stdout.getvalue()
-        redi @">
-        sil!py print out
-        redi END
-        call pymode#TempBuffer()
-        normal Pdd
-        wincmd p
-    endif
-endfunction "}}}
-
-
-" vim: fdm=marker:fdl=0
+" Python-mode search by documentation
+
+
+fun! pymode#doc#Show(word) "{{{
+    if a:word == ''
+        echoerr "No name/symbol under cursor!"
+    else
+        py sys.stdout, _ = StringIO.StringIO(), sys.stdout
+        py help(vim.eval('a:word'))
+        py sys.stdout, out = _, sys.stdout.getvalue()
+        redi @">
+        sil!py print out
+        redi END
+        call pymode#TempBuffer()
+        normal Pdd
+        wincmd p
+    endif
+endfunction "}}}
+
+
+" vim: fdm=marker:fdl=0

bundle/python-mode/autoload/pymode/folding.vim

-" Python-mode folding functions
-
-
-let s:defpat = '^\s*\(@\|class\s.*:\|def\s\)'
-
-
-fun! pymode#folding#text() " {{{
-    let fs = v:foldstart
-    while getline(fs) =~ '^\s*@' 
-        let fs = nextnonblank(fs + 1)
-    endwhile
-    let line = getline(fs)
-
-    let nucolwidth = &fdc + &number * &numberwidth
-    let windowwidth = winwidth(0) - nucolwidth - 3
-    let foldedlinecount = v:foldend - v:foldstart
-
-    " expand tabs into spaces
-    let onetab = strpart('          ', 0, &tabstop)
-    let line = substitute(line, '\t', onetab, 'g')
-
-    let line = strpart(line, 0, windowwidth - 2 -len(foldedlinecount))
-    let fillcharcount = windowwidth - len(line) - len(foldedlinecount)
-    return line . '…' . repeat(" ",fillcharcount) . foldedlinecount . '…' . ' '
-endfunction "}}}
-
-
-fun! pymode#folding#indent(lnum) "{{{
-    let indent = indent(pymode#BlockStart(a:lnum))
-    return indent ? indent + &shiftwidth : 0
-endfunction "}}}
-
-
-fun! pymode#folding#expr(lnum) "{{{
-    let line = getline(a:lnum)
-    let indent = indent(a:lnum)
-
-    if line == '' | return getline(a:lnum+1) == ''?'=':'-1' | endif
-
-    if line =~ s:defpat && getline(prevnonblank(a:lnum-1)) !~ '^\s*@'
-        let n = a:lnum
-        while getline(n) =~ '^\s*@' | let n = nextnonblank(n + 1) | endwhile
-        if getline(n) =~ s:defpat
-            return ">".(indent/&shiftwidth+1)
-        endif
-    endif
-
-    let p = prevnonblank(a:lnum-1)
-    while p>0 && getline(p) =~ '^\s*#' | let p = prevnonblank(p-1)
-    endwhile
-    let pind = indent(p)
-    if getline(p) =~ s:defpat && getline(prevnonblank(a:lnum - 1)) !~ '^\s*@'
-        let pind = pind + &shiftwidth
-    elseif p==0 | let pind = 0
-    endif
-
-    if indent>0 && indent==pind | return '='
-    elseif indent>pind | return '='
-    elseif indent==0
-        if pind==0 && line =~ '^#' | return 0
-        elseif line !~'^#'
-            if 0<pind && line!~'^else\s*:\|^except.*:\|^elif.*:\|^finally\s*:' | return '>1'
-            elseif 0==pind && getline(prevnonblank(a:lnum-1)) =~ '^\s*#' | return '>1'
-            else | return '='
-            endif
-        endif
-        let n = nextnonblank(a:lnum+1)
-        while n>0 && getline(n) =~'^\s*#' | let n = nextnonblank(n+1)
-        endwhile
-        if indent(n)==0 | return 0
-        else | return -1
-        end
-    endif
-    let blockindent = indent(pymode#BlockStart(a:lnum)) + &shiftwidth
-    if blockindent==0 | return 1 | endif
-    let n = nextnonblank(a:lnum+1)
-    while n>0 && getline(n) =~'^\s*#' | let n = nextnonblank(n+1) | endwhile
-    let nind = indent(n)
-    if line =~ '^\s*#' && indent>=nind | return -1
-    elseif line =~ '^\s*#' | return nind / &shiftwidth
-    else | return blockindent / &shiftwidth
-    endif
-endfunction "}}}
-
-
-" vim: fdm=marker:fdl=0
+" Python-mode folding functions
+
+
+let s:defpat = '^\s*\(@\|class\s.*:\|def\s\)'
+
+
+fun! pymode#folding#text() " {{{
+    let fs = v:foldstart
+    while getline(fs) =~ '^\s*@' 
+        let fs = nextnonblank(fs + 1)
+    endwhile
+    let line = getline(fs)
+
+    let nucolwidth = &fdc + &number * &numberwidth
+    let windowwidth = winwidth(0) - nucolwidth - 3
+    let foldedlinecount = v:foldend - v:foldstart
+
+    " expand tabs into spaces
+    let onetab = strpart('          ', 0, &tabstop)
+    let line = substitute(line, '\t', onetab, 'g')
+
+    let line = strpart(line, 0, windowwidth - 2 -len(foldedlinecount))
+    let fillcharcount = windowwidth - len(line) - len(foldedlinecount)
+    return line . '…' . repeat(" ",fillcharcount) . foldedlinecount . '…' . ' '
+endfunction "}}}
+
+
+fun! pymode#folding#indent(lnum) "{{{
+    let indent = indent(pymode#BlockStart(a:lnum))
+    return indent ? indent + &shiftwidth : 0
+endfunction "}}}
+
+
+fun! pymode#folding#expr(lnum) "{{{
+    let line = getline(a:lnum)
+    let indent = indent(a:lnum)
+
+    if line == '' | return getline(a:lnum+1) == ''?'=':'-1' | endif
+
+    if line =~ s:defpat && getline(prevnonblank(a:lnum-1)) !~ '^\s*@'
+        let n = a:lnum
+        while getline(n) =~ '^\s*@' | let n = nextnonblank(n + 1) | endwhile
+        if getline(n) =~ s:defpat
+            return ">".(indent/&shiftwidth+1)
+        endif
+    endif
+
+    let p = prevnonblank(a:lnum-1)
+    while p>0 && getline(p) =~ '^\s*#' | let p = prevnonblank(p-1)
+    endwhile
+    let pind = indent(p)
+    if getline(p) =~ s:defpat && getline(prevnonblank(a:lnum - 1)) !~ '^\s*@'
+        let pind = pind + &shiftwidth
+    elseif p==0 | let pind = 0
+    endif
+
+    if indent>0 && indent==pind | return '='
+    elseif indent>pind | return '='
+    elseif indent==0
+        if pind==0 && line =~ '^#' | return 0
+        elseif line !~'^#'
+            if 0<pind && line!~'^else\s*:\|^except.*:\|^elif.*:\|^finally\s*:' | return '>1'
+            elseif 0==pind && getline(prevnonblank(a:lnum-1)) =~ '^\s*#' | return '>1'
+            else | return '='
+            endif
+        endif
+        let n = nextnonblank(a:lnum+1)
+        while n>0 && getline(n) =~'^\s*#' | let n = nextnonblank(n+1)
+        endwhile
+        if indent(n)==0 | return 0
+        else | return -1
+        end
+    endif
+    let blockindent = indent(pymode#BlockStart(a:lnum)) + &shiftwidth
+    if blockindent==0 | return 1 | endif
+    let n = nextnonblank(a:lnum+1)
+    while n>0 && getline(n) =~'^\s*#' | let n = nextnonblank(n+1) | endwhile
+    let nind = indent(n)
+    if line =~ '^\s*#' && indent>=nind | return -1
+    elseif line =~ '^\s*#' | return nind / &shiftwidth
+    else | return blockindent / &shiftwidth
+    endif
+endfunction "}}}
+
+
+" vim: fdm=marker:fdl=0

bundle/python-mode/autoload/pymode/lint.vim

-fun! pymode#lint#Check()
-
-    if !g:pymode_lint | return | endif
-
-    let b:errors = {}
-
-    if &modifiable && &modified
-        try
-            write
-        catch /E212/
-            echohl Error | echo "File modified and I can't save it. Cancel code checking." | echohl None
-            return 0
-        endtry
-    endif	
-
-    py check_file()
-
-    if g:qf_list != b:qf_list
-
-        call setqflist(b:qf_list, 'r')
-
-        let g:qf_list = b:qf_list
-
-        if g:pymode_lint_message
-            for v in b:qf_list
-                let b:errors[v['lnum']] = v['text']
-            endfor
-            call pymode#lint#show_errormessage()
-        endif
-
-        if g:pymode_lint_cwindow
-            call pymode#QuickfixOpen(0, g:pymode_lint_hold, g:pymode_lint_maxheight, g:pymode_lint_minheight, g:pymode_lint_jump)
-        endif
-
-    endif
-
-    if g:pymode_lint_signs
-        call pymode#PlaceSigns()
-    endif
-
-endfunction
-
-
-fun! pymode#lint#Toggle() "{{{
-    let g:pymode_lint = g:pymode_lint ? 0 : 1
-    call pymode#lint#toggle_win(g:pymode_lint, "Pymode lint")
-endfunction "}}}
-
-
-fun! pymode#lint#ToggleWindow() "{{{
-    let g:pymode_lint_cwindow = g:pymode_lint_cwindow ? 0 : 1
-    call pymode#lint#toggle_win(g:pymode_lint_cwindow, "Pymode lint cwindow")
-endfunction "}}}
-
-
-fun! pymode#lint#ToggleChecker() "{{{
-    let g:pymode_lint_checker = g:pymode_lint_checker == "pylint" ? "pyflakes" : "pylint"
-    echomsg "Pymode lint checker: " . g:pymode_lint_checker
-endfunction "}}}
-
-
-fun! pymode#lint#toggle_win(toggle, msg) "{{{
-    if a:toggle
-        echomsg a:msg." enabled"
-        botright cwindow
-        if &buftype == "quickfix"
-            wincmd p
-        endif
-    else
-        echomsg a:msg." disabled"
-        cclose
-    endif
-endfunction "}}}
-
-
-fun! pymode#lint#show_errormessage() "{{{
-    if !len(b:errors) | return | endif
-    let cursor = getpos(".")
-    if has_key(b:errors, l:cursor[1])
-        call pymode#WideMessage(b:errors[l:cursor[1]])
-        let b:show_message = 1
-    else
-        let b:show_message = 0
-        echo
-    endif
-endfunction " }}}
+fun! pymode#lint#Check()
+
+    if !g:pymode_lint | return | endif
+
+    let b:errors = {}
+
+    if &modifiable && &modified
+        try
+            write
+        catch /E212/
+            echohl Error | echo "File modified and I can't save it. Cancel code checking." | echohl None
+            return 0
+        endtry
+    endif	
+
+    py check_file()
+
+    if g:qf_list != b:qf_list
+
+        call setqflist(b:qf_list, 'r')
+
+        let g:qf_list = b:qf_list
+
+        if g:pymode_lint_message
+            for v in b:qf_list
+                let b:errors[v['lnum']] = v['text']
+            endfor
+            call pymode#lint#show_errormessage()
+        endif
+
+        if g:pymode_lint_cwindow
+            call pymode#QuickfixOpen(0, g:pymode_lint_hold, g:pymode_lint_maxheight, g:pymode_lint_minheight, g:pymode_lint_jump)
+        endif
+
+    endif
+
+    if g:pymode_lint_signs
+        call pymode#PlaceSigns()
+    endif
+
+endfunction
+
+
+fun! pymode#lint#Toggle() "{{{
+    let g:pymode_lint = g:pymode_lint ? 0 : 1
+    call pymode#lint#toggle_win(g:pymode_lint, "Pymode lint")
+endfunction "}}}
+
+
+fun! pymode#lint#ToggleWindow() "{{{
+    let g:pymode_lint_cwindow = g:pymode_lint_cwindow ? 0 : 1
+    call pymode#lint#toggle_win(g:pymode_lint_cwindow, "Pymode lint cwindow")
+endfunction "}}}
+
+
+fun! pymode#lint#ToggleChecker() "{{{
+    let g:pymode_lint_checker = g:pymode_lint_checker == "pylint" ? "pyflakes" : "pylint"
+    echomsg "Pymode lint checker: " . g:pymode_lint_checker
+endfunction "}}}
+
+
+fun! pymode#lint#toggle_win(toggle, msg) "{{{
+    if a:toggle
+        echomsg a:msg." enabled"
+        botright cwindow
+        if &buftype == "quickfix"
+            wincmd p
+        endif
+    else
+        echomsg a:msg." disabled"
+        cclose
+    endif
+endfunction "}}}
+
+
+fun! pymode#lint#show_errormessage() "{{{
+    if !len(b:errors) | return | endif
+    let cursor = getpos(".")
+    if has_key(b:errors, l:cursor[1])
+        call pymode#WideMessage(b:errors[l:cursor[1]])
+        let b:show_message = 1
+    else
+        let b:show_message = 0
+        echo
+    endif
+endfunction " }}}

bundle/python-mode/autoload/pymode/motion.vim

-" Python-mode motion functions
-
-
-fun! pymode#motion#move(pattern, flags, ...) "{{{
-    let cnt = v:count1 - 1
-    let [line, column] = searchpos(a:pattern, a:flags . 'sW')
-    let indent = indent(line)
-    while cnt && line
-        let [line, column] = searchpos(a:pattern, a:flags . 'W')
-        if indent(line) == indent
-            let cnt = cnt - 1
-        endif
-    endwhile
-    return [line, column]
-endfunction "}}}
-
-
-fun! pymode#motion#vmove(pattern, flags) range "{{{
-    call cursor(a:lastline, 0)
-    let end = pymode#motion#move(a:pattern, a:flags)
-    call cursor(a:firstline, 0)
-    normal! v
-    call cursor(end)
-endfunction "}}} 
-
-
-fun! pymode#motion#pos_le(pos1, pos2) "{{{
-    return ((a:pos1[0] < a:pos2[0]) || (a:pos1[0] == a:pos2[0] && a:pos1[1] <= a:pos2[1]))
-endfunction "}}}
-
-
-fun! pymode#motion#select(pattern, inner) "{{{
-    let cnt = v:count1 - 1
-    let orig = getpos('.')[1:2]
-    let snum = pymode#BlockStart(orig[0], a:pattern)
-    if getline(snum) !~ a:pattern
-        return 0
-    endif
-    let enum = pymode#BlockEnd(snum, indent(snum))
-    while cnt
-        let lnum = search(a:pattern, 'nW')
-        if lnum
-            let enum = pymode#BlockEnd(lnum, indent(lnum))
-            call cursor(enum, 1)
-        endif
-        let cnt = cnt - 1
-    endwhile
-    if pymode#motion#pos_le([snum, 0], orig) && pymode#motion#pos_le(orig, [enum, 1])
-        if a:inner
-            let snum = snum + 1
-            let enum = prevnonblank(enum)
-        endif
-
-        call cursor(snum, 1)
-        normal! v
-        call cursor(enum, len(getline(enum)))
-    endif
-endfunction "}}}
-
-
-" vim: fdm=marker:fdl=0
+" Python-mode motion functions
+
+
+fun! pymode#motion#move(pattern, flags, ...) "{{{
+    let cnt = v:count1 - 1
+    let [line, column] = searchpos(a:pattern, a:flags . 'sW')
+    let indent = indent(line)
+    while cnt && line
+        let [line, column] = searchpos(a:pattern, a:flags . 'W')
+        if indent(line) == indent
+            let cnt = cnt - 1
+        endif
+    endwhile
+    return [line, column]
+endfunction "}}}
+
+
+fun! pymode#motion#vmove(pattern, flags) range "{{{
+    call cursor(a:lastline, 0)
+    let end = pymode#motion#move(a:pattern, a:flags)
+    call cursor(a:firstline, 0)
+    normal! v
+    call cursor(end)
+endfunction "}}} 
+
+
+fun! pymode#motion#pos_le(pos1, pos2) "{{{
+    return ((a:pos1[0] < a:pos2[0]) || (a:pos1[0] == a:pos2[0] && a:pos1[1] <= a:pos2[1]))
+endfunction "}}}
+
+
+fun! pymode#motion#select(pattern, inner) "{{{
+    let cnt = v:count1 - 1
+    let orig = getpos('.')[1:2]
+    let snum = pymode#BlockStart(orig[0], a:pattern)
+    if getline(snum) !~ a:pattern
+        return 0
+    endif
+    let enum = pymode#BlockEnd(snum, indent(snum))
+    while cnt
+        let lnum = search(a:pattern, 'nW')
+        if lnum
+            let enum = pymode#BlockEnd(lnum, indent(lnum))
+            call cursor(enum, 1)
+        endif
+        let cnt = cnt - 1
+    endwhile
+    if pymode#motion#pos_le([snum, 0], orig) && pymode#motion#pos_le(orig, [enum, 1])
+        if a:inner
+            let snum = snum + 1
+            let enum = prevnonblank(enum)
+        endif
+
+        call cursor(snum, 1)
+        normal! v
+        call cursor(enum, len(getline(enum)))
+    endif
+endfunction "}}}
+
+
+" vim: fdm=marker:fdl=0

bundle/python-mode/autoload/pymode/run.vim

-" DESC: Save file if it modified and run python code
-fun! pymode#run#Run(line1, line2) "{{{
-    if &modifiable && &modified | write | endif	
-    redi @">
-    sil!py execfile(vim.eval('expand("%s:p")'))
-    redi END
-    call pymode#TempBuffer()
-    normal ""Pdd
-    wincmd p
-endfunction "}}}
+" DESC: Save file if it modified and run python code
+fun! pymode#run#Run(line1, line2) "{{{
+    if &modifiable && &modified | write | endif	
+    redi @">
+    sil!py execfile(vim.eval('expand("%s:p")'))
+    redi END
+    call pymode#TempBuffer()
+    normal ""Pdd
+    wincmd p
+endfunction "}}}

bundle/python-mode/autoload/pymode/virtualenv.vim

-fun! pymode#virtualenv#Activate() "{{{
-
-    if !exists("$VIRTUAL_ENV")
-        return
-    endif
-
-    for env in g:pymode_virtualenv_enabled
-        if env == $VIRTUAL_ENV
-            return 0
-        endif
-    endfor
-
-    call add(g:pymode_virtualenv_enabled, $VIRTUAL_ENV)
-
-python << EOF
-ve_dir = os.environ['VIRTUAL_ENV']
-ve_dir in sys.path or sys.path.insert(0, ve_dir)
-activate_this = os.path.join(os.path.join(ve_dir, 'bin'), 'activate_this.py')
-execfile(activate_this, dict(__file__=activate_this))
-EOF
-endfunction "}}}
+fun! pymode#virtualenv#Activate() "{{{
+
+    if !exists("$VIRTUAL_ENV")
+        return
+    endif
+
+    for env in g:pymode_virtualenv_enabled
+        if env == $VIRTUAL_ENV
+            return 0
+        endif
+    endfor
+
+    call add(g:pymode_virtualenv_enabled, $VIRTUAL_ENV)
+
+python << EOF
+ve_dir = os.environ['VIRTUAL_ENV']
+ve_dir in sys.path or sys.path.insert(0, ve_dir)
+activate_this = os.path.join(os.path.join(ve_dir, 'bin'), 'activate_this.py')
+execfile(activate_this, dict(__file__=activate_this))
+EOF
+endfunction "}}}

bundle/python-mode/ftplugin/python/pymode.vim

-if pymode#Default('b:pymode', 1)
-    finish
-endif
-
-" Syntax highlight
-if !pymode#Default('g:pymode_syntax', 1) || g:pymode_syntax
-    let python_highlight_all=1
-endif
-
-
-" Options {{{
-
-" Python indent options
-if !pymode#Default('g:pymode_options_indent', 1) || g:pymode_options_indent
-    setlocal cinwords=if,elif,else,for,while,try,except,finally,def,class
-    setlocal cindent
-    setlocal tabstop=4
-    setlocal softtabstop=4
-    setlocal shiftwidth=4
-    setlocal shiftround
-    setlocal smartindent
-    setlocal smarttab
-    setlocal expandtab
-    setlocal autoindent
-endif
-
-" Python other options
-if !pymode#Default('g:pymode_options_other', 1) || g:pymode_options_other
-    setlocal complete+=t
-    setlocal formatoptions-=t
-    setlocal number
-    setlocal nowrap
-    setlocal textwidth=80
-endif
-
-" }}}
-
-
-" Documentation {{{
-
-if g:pymode_doc
-
-    " DESC: Set commands
-    command! -buffer -nargs=1 Pydoc call pymode#doc#Show("<args>")
-
-    " DESC: Set keys
-    exe "nnoremap <silent> <buffer> " g:pymode_doc_key ":call pymode#doc#Show(expand('<cword>'))<CR>"
-    exe "vnoremap <silent> <buffer> " g:pymode_doc_key ":call pymode#doc#Show('<C-R><C-A>')<CR>"
-
-endif
-
-" }}}
-
-
-" Lint {{{
-
-if g:pymode_lint
-
-    let b:qf_list = []
-
-    " DESC: Set commands
-    command! -buffer -nargs=0 PyLintToggle :call pymode#lint#Toggle()
-    command! -buffer -nargs=0 PyLintWindowToggle :call pymode#lint#ToggleWindow()
-    command! -buffer -nargs=0 PyLintCheckerToggle :call pymode#lint#ToggleChecker()
-    command! -buffer -nargs=0 PyLint :call pymode#lint#Check()
-
-    " DESC: Set autocommands
-    if g:pymode_lint_write
-        au BufWritePost <buffer> PyLint
-    endif
-
-    if g:pymode_lint_onfly
-        au InsertLeave <buffer> PyLint
-    endif
-
-    if g:pymode_lint_message
-
-        " DESC: Show message flag
-        let b:show_message = 0
-
-        " DESC: Errors dict
-        let b:errors = {}
-
-        au CursorHold <buffer> call pymode#lint#show_errormessage()
-        au CursorMoved <buffer> call pymode#lint#show_errormessage()
-
-    endif
-
-endif
-
-" }}}
-
-
-" Rope {{{
-
-if g:pymode_rope
-
-    " DESC: Set keys
-    exe "noremap <silent> <buffer> " . g:pymode_rope_short_prefix . "g :RopeGotoDefinition<CR>"
-    exe "noremap <silent> <buffer> " . g:pymode_rope_short_prefix . "d :RopeShowDoc<CR>"
-    exe "noremap <silent> <buffer> " . g:pymode_rope_short_prefix . "f :RopeFindOccurrences<CR>"
-    exe "noremap <silent> <buffer> " . g:pymode_rope_short_prefix . "m :emenu Rope . <TAB>"
-    inoremap <silent> <buffer> <S-TAB> <C-R>=RopeLuckyAssistInsertMode()<CR>
-
-    let s:prascm = g:pymode_rope_always_show_complete_menu ? "<C-P>" : ""
-    exe "inoremap <silent> <buffer> <Nul> <C-R>=RopeCodeAssistInsertMode()<CR>" . s:prascm
-    exe "inoremap <silent> <buffer> <C-space> <C-R>=RopeCodeAssistInsertMode()<CR>" . s:prascm
-
-endif
-
-" }}}
-
-
-" Execution {{{
-
-if g:pymode_run
-
-    " DESC: Set commands
-    command! -buffer -nargs=0 -range=% Pyrun call pymode#run#Run(<f-line1>, <f-line2>)
-
-    " DESC: Set keys
-    exe "nnoremap <silent> <buffer> " g:pymode_run_key ":Pyrun<CR>"
-    exe "vnoremap <silent> <buffer> " g:pymode_run_key ":Pyrun<CR>"
-
-endif
-
-" }}}
-
-
-" Breakpoints {{{
-
-if g:pymode_breakpoint
-
-    " DESC: Set keys
-    exe "nnoremap <silent> <buffer> " g:pymode_breakpoint_key ":call pymode#breakpoint#Set(line('.'))<CR>"
-
-endif
-
-" }}}
-
-
-" Utils {{{
-
-if g:pymode_utils_whitespaces
-    au BufWritePre <buffer> :call setline(1,map(getline(1,"$"),'substitute(v:val,"\\s\\+$","","")'))
-endif
-
-" }}}
-
-
-" Folding {{{
-
-if g:pymode_folding
-
-    setlocal foldmethod=expr
-    setlocal foldexpr=pymode#folding#expr(v:lnum)
-    setlocal foldtext=pymode#folding#text()
-
-endif
-
-" }}}
-
-
-" vim: fdm=marker:fdl=0
+if pymode#Default('b:pymode', 1)
+    finish
+endif
+
+" Syntax highlight
+if !pymode#Default('g:pymode_syntax', 1) || g:pymode_syntax
+    let python_highlight_all=1
+endif
+
+
+" Options {{{
+
+" Python indent options
+if !pymode#Default('g:pymode_options_indent', 1) || g:pymode_options_indent
+    setlocal cinwords=if,elif,else,for,while,try,except,finally,def,class
+    setlocal cindent
+    setlocal tabstop=4
+    setlocal softtabstop=4
+    setlocal shiftwidth=4
+    setlocal shiftround
+    setlocal smartindent
+    setlocal smarttab
+    setlocal expandtab
+    setlocal autoindent
+endif
+
+" Python other options
+if !pymode#Default('g:pymode_options_other', 1) || g:pymode_options_other
+    setlocal complete+=t
+    setlocal formatoptions-=t
+    setlocal number
+    setlocal nowrap
+    setlocal textwidth=80
+endif
+
+" }}}
+
+
+" Documentation {{{
+
+if g:pymode_doc
+
+    " DESC: Set commands
+    command! -buffer -nargs=1 Pydoc call pymode#doc#Show("<args>")
+
+    " DESC: Set keys
+    exe "nnoremap <silent> <buffer> " g:pymode_doc_key ":call pymode#doc#Show(expand('<cword>'))<CR>"
+    exe "vnoremap <silent> <buffer> " g:pymode_doc_key ":call pymode#doc#Show('<C-R><C-A>')<CR>"
+
+endif
+
+" }}}
+
+
+" Lint {{{
+
+if g:pymode_lint
+
+    let b:qf_list = []
+
+    " DESC: Set commands
+    command! -buffer -nargs=0 PyLintToggle :call pymode#lint#Toggle()
+    command! -buffer -nargs=0 PyLintWindowToggle :call pymode#lint#ToggleWindow()
+    command! -buffer -nargs=0 PyLintCheckerToggle :call pymode#lint#ToggleChecker()
+    command! -buffer -nargs=0 PyLint :call pymode#lint#Check()
+
+    " DESC: Set autocommands
+    if g:pymode_lint_write
+        au BufWritePost <buffer> PyLint
+    endif
+
+    if g:pymode_lint_onfly
+        au InsertLeave <buffer> PyLint
+    endif
+
+    if g:pymode_lint_message
+
+        " DESC: Show message flag
+        let b:show_message = 0
+
+        " DESC: Errors dict
+        let b:errors = {}
+
+        au CursorHold <buffer> call pymode#lint#show_errormessage()
+        au CursorMoved <buffer> call pymode#lint#show_errormessage()
+
+    endif
+
+endif
+
+" }}}
+
+
+" Rope {{{
+
+if g:pymode_rope
+
+    " DESC: Set keys
+    exe "noremap <silent> <buffer> " . g:pymode_rope_short_prefix . "g :RopeGotoDefinition<CR>"
+    exe "noremap <silent> <buffer> " . g:pymode_rope_short_prefix . "d :RopeShowDoc<CR>"
+    exe "noremap <silent> <buffer> " . g:pymode_rope_short_prefix . "f :RopeFindOccurrences<CR>"
+    exe "noremap <silent> <buffer> " . g:pymode_rope_short_prefix . "m :emenu Rope . <TAB>"
+    inoremap <silent> <buffer> <S-TAB> <C-R>=RopeLuckyAssistInsertMode()<CR>
+
+    let s:prascm = g:pymode_rope_always_show_complete_menu ? "<C-P>" : ""
+    exe "inoremap <silent> <buffer> <Nul> <C-R>=RopeCodeAssistInsertMode()<CR>" . s:prascm
+    exe "inoremap <silent> <buffer> <C-space> <C-R>=RopeCodeAssistInsertMode()<CR>" . s:prascm
+
+endif
+
+" }}}
+
+
+" Execution {{{
+
+if g:pymode_run
+
+    " DESC: Set commands
+    command! -buffer -nargs=0 -range=% Pyrun call pymode#run#Run(<f-line1>, <f-line2>)
+
+    " DESC: Set keys
+    exe "nnoremap <silent> <buffer> " g:pymode_run_key ":Pyrun<CR>"
+    exe "vnoremap <silent> <buffer> " g:pymode_run_key ":Pyrun<CR>"
+
+endif
+
+" }}}
+
+
+" Breakpoints {{{
+
+if g:pymode_breakpoint
+
+    " DESC: Set keys
+    exe "nnoremap <silent> <buffer> " g:pymode_breakpoint_key ":call pymode#breakpoint#Set(line('.'))<CR>"
+
+endif
+
+" }}}
+
+
+" Utils {{{
+
+if g:pymode_utils_whitespaces
+    au BufWritePre <buffer> :call setline(1,map(getline(1,"$"),'substitute(v:val,"\\s\\+$","","")'))
+endif
+
+" }}}
+
+
+" Folding {{{
+
+if g:pymode_folding
+
+    setlocal foldmethod=expr
+    setlocal foldexpr=pymode#folding#expr(v:lnum)
+    setlocal foldtext=pymode#folding#text()
+
+endif
+
+" }}}
+
+
+" vim: fdm=marker:fdl=0

bundle/python-mode/plugin/pymode.vim

-let g:pymode_version = "0.6.1"
-
-com! PymodeVersion echomsg "Current python-mode version: " . g:pymode_version
-
-" OPTION: g:pymode -- bool. Run pymode.
-if pymode#Default('g:pymode', 1) || !g:pymode
-    " DESC: Disable script loading
-    finish
-endif
-
-" DESC: Check python support
-if !has('python')
-    echoerr expand("<sfile>:t") . " required vim compiled with +python."
-    let g:pymode_lint       = 0
-    let g:pymode_rope       = 0
-    let g:pymode_path       = 0
-    let g:pymode_doc        = 0
-    let g:pymode_run        = 0
-    let g:pymode_virtualenv = 0
-endif
-
-" DESC: Fix python path
-if !pymode#Default('g:pymode_path', 1) || g:pymode_path
-python << EOF
-import sys, vim, os, StringIO
-
-curpath = vim.eval("getcwd()")
-libpath = os.path.join(os.path.dirname(os.path.dirname(
-    vim.eval("expand('<sfile>:p')"))), 'pylibs')
-
-sys.path = [libpath, curpath] + sys.path
-EOF
-endif
-
-
-" Virtualenv {{{
-
-if !pymode#Default("g:pymode_virtualenv", 1) || g:pymode_virtualenv
-
-    call pymode#Default("g:pymode_virtualenv_enabled", [])
-
-    " Add virtualenv paths
-    call pymode#virtualenv#Activate()
-
-endif
-
-" }}}
-
-
-" Lint {{{
-
-if !pymode#Default("g:pymode_lint", 1) || g:pymode_lint
-
-    let g:qf_list = []
-
-    " OPTION: g:pymode_lint_write -- bool. Check code every save.
-    call pymode#Default("g:pymode_lint_write", 1)
-
-    " OPTION: g:pymode_lint_onfly -- bool. Check code every save.
-    call pymode#Default("g:pymode_lint_onfly", 0)
-
-    " OPTION: g:pymode_lint_message -- bool. Show current line error message
-    call pymode#Default("g:pymode_lint_message", 1)
-
-    " OPTION: g:pymode_lint_checker -- str. Choices are: pylint, pyflakes, pep8, mccabe
-    call pymode#Default("g:pymode_lint_checker", "pyflakes,pep8,mccabe")
-
-    " OPTION: g:pymode_lint_config -- str. Path to pylint config file
-    call pymode#Default("g:pymode_lint_config", $HOME . "/.pylintrc")
-
-    " OPTION: g:pymode_lint_cwindow -- bool. Auto open cwindow if errors find
-    call pymode#Default("g:pymode_lint_cwindow", 1)
-
-    " OPTION: g:pymode_lint_jump -- int. Jump on first error.
-    call pymode#Default("g:pymode_lint_jump", 0)
-
-    " OPTION: g:pymode_lint_hold -- int. Hold cursor on current window when
-    " quickfix open
-    call pymode#Default("g:pymode_lint_hold", 0)
-
-    " OPTION: g:pymode_lint_minheight -- int. Minimal height of pymode lint window
-    call pymode#Default("g:pymode_lint_minheight", 3)
-
-    " OPTION: g:pymode_lint_maxheight -- int. Maximal height of pymode lint window
-    call pymode#Default("g:pymode_lint_maxheight", 6)
-
-    " OPTION: g:pymode_lint_ignore -- string. Skip errors and warnings (e.g. E4,W)
-    call pymode#Default("g:pymode_lint_ignore", "E501")
-
-    " OPTION: g:pymode_lint_select -- string. Select errors and warnings (e.g. E4,W)
-    call pymode#Default("g:pymode_lint_select", "")
-
-    " OPTION: g:pymode_lint_signs -- bool. Place error signs
-    if !pymode#Default("g:pymode_lint_signs", 1) || g:pymode_lint_signs
-
-        " DESC: Signs definition
-        sign define W text=WW texthl=Todo
-        sign define C text=CC texthl=Comment
-        sign define R text=RR texthl=Visual
-        sign define E text=EE texthl=Error
-        sign define I text=II texthl=Info
-
-    endif
-
-    " DESC: Set default pylint configuration
-    if !filereadable(g:pymode_lint_config)
-        let g:pymode_lint_config = expand("<sfile>:p:h:h") . "/pylint.ini"
-    endif
-
-    py from pymode import check_file
-
-endif
-
-" }}}
-
-
-" Documentation {{{
-
-if !pymode#Default("g:pymode_doc", 1) || g:pymode_doc
-
-    " OPTION: g:pymode_doc_key -- string. Key for show python documantation.
-    call pymode#Default("g:pymode_doc_key", "K")
-
-endif
-
-" }}}
-
-
-" Breakpoints {{{
-
-if !pymode#Default("g:pymode_breakpoint", 1) || g:pymode_breakpoint
-
-    if !pymode#Default("g:pymode_breakpoint_cmd", "import ipdb; ipdb.set_trace() ### XXX BREAKPOINT")  && has("python")
-python << EOF
-from imp import find_module
-try:
-    find_module('ipdb')
-except ImportError:
-    vim.command('let g:pymode_breakpoint_cmd = "import pdb; pdb.set_trace() ### XXX BREAKPOINT"')
-EOF
-    endif
-
-    " OPTION: g:pymode_breakpoint_key -- string. Key for set/unset breakpoint.
-    call pymode#Default("g:pymode_breakpoint_key", "<leader>b")
-
-endif
-
-" }}}
-
-
-" Execution {{{
-
-if !pymode#Default("g:pymode_run", 1) || g:pymode_run
-
-    " OPTION: g:pymode_doc_key -- string. Key for show python documentation.
-    call pymode#Default("g:pymode_run_key", "<leader>r")
-
-endif
-
-" }}}
-
-
-" Rope {{{
-
-if !pymode#Default("g:pymode_rope", 1) || g:pymode_rope
-
-    " OPTION: g:pymode_rope_auto_project -- bool. Auto open ropeproject
-    call pymode#Default("g:pymode_rope_auto_project", 1)