From 46fb164681a00526ec46529ec41071eddeb12206 Mon Sep 17 00:00:00 2001 From: clint Date: Fri, 5 Aug 2022 16:36:16 -0500 Subject: [PATCH] vim python --- vim/.vim/after/ftplugin/python.vim | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 vim/.vim/after/ftplugin/python.vim 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"""