|
|
|
@ -82,9 +82,8 @@ augroup python
|
|
|
|
|
au FileType python nmap <silent> <Leader>a :call JumpToAlternate()<CR> |
|
|
|
|
|
|
|
|
|
" Shortcut to add pylint disables |
|
|
|
|
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> |
|
|
|
|
au FileType python iab lint # pylint: disable |
|
|
|
|
au FileType python iab defmain def main():<CR>""""""<CR><CR><BS>if __name__ == '__main__':<CR>main()<up><up><up><left><left><left> |
|
|
|
|
augroup END |
|
|
|
|
" }}} |
|
|
|
|
|
|
|
|
|