diff --git a/vim/.vim/after/ftplugin/python.vim b/vim/.vim/after/ftplugin/python.vim new file mode 100644 index 0000000..1efc743 --- /dev/null +++ b/vim/.vim/after/ftplugin/python.vim @@ -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__":omain()o + +" Wrap in docstring quotes +map \" {i"""}a"""