|
|
@ -82,7 +82,9 @@ augroup python |
|
|
|
au FileType python nmap <silent> <Leader>a :call JumpToAlternate()<CR> |
|
|
|
au FileType python nmap <silent> <Leader>a :call JumpToAlternate()<CR> |
|
|
|
|
|
|
|
|
|
|
|
" Shortcut to add pylint disables |
|
|
|
" Shortcut to add pylint disables |
|
|
|
au FileType python iab lint # pylint: disable |
|
|
|
au FileType python setlocal iskeyword+=: " this is kinda of a "hack" to make abbr accept ":" in them |
|
|
|
|
|
|
|
au FileType python iab :lint # pylint: disable |
|
|
|
|
|
|
|
au FileType python iab :main def main():<CR>""""""<CR><CR><BS>if __name__ == '__main__':<CR>main()<up><up><up><left><left><left> |
|
|
|
augroup END |
|
|
|
augroup END |
|
|
|
" }}} |
|
|
|
" }}} |
|
|
|
|
|
|
|
|
|
|
|