vim python

This commit is contained in:
clint 2022-08-05 16:36:16 -05:00
parent 78ac13672e
commit 46fb164681
1 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,14 @@
" Tab related stuff
set shiftwidth=4 tabstop=4 softtabstop=4 expandtab autoindent smartindent
" Right-most border
set colorcolumn=80
setlocal path=.,**
setlocal wildignore=*.pyc
" if name equals main
map \m iif __name__ == "__main__":<Esc>o<Tab>main()<Esc>o<Bs><Bs><Esc>
" Wrap in docstring quotes
map \" {i"""<Return><Esc>}a<Return>"""<Return><Esc>