aboutsummaryrefslogtreecommitdiffstats
path: root/ftplugin/python.vim
diff options
context:
space:
mode:
authorTeddy Wing2014-11-18 17:02:00 -0500
committerTeddy Wing2014-11-18 17:04:20 -0500
commit7e08eb7a582cab05bf6b21e28649371b5a662388 (patch)
tree3ef7526b45e8ff0c0424fd053743724f94a68a68 /ftplugin/python.vim
parent86b481a79e92bc50b2bd9031ff585b7ab5795f1c (diff)
downloaddotvim-7e08eb7a582cab05bf6b21e28649371b5a662388.tar.bz2
ftplugin/python.vim: Set textwidth to 79 columns
Comply with PEP8 style guidelines by setting a max line width of 79 columns). Should make it easier to write Python code without having to watch the column count myself.
Diffstat (limited to 'ftplugin/python.vim')
-rw-r--r--ftplugin/python.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/ftplugin/python.vim b/ftplugin/python.vim
index 5b39a24..811f03a 100644
--- a/ftplugin/python.vim
+++ b/ftplugin/python.vim
@@ -7,6 +7,9 @@ setlocal softtabstop=4
setlocal shiftwidth=4
+setlocal textwidth=79
+
+
" Don't preserve indentation on empty lines
inoremap <buffer> <CR> <CR>
nnoremap <buffer> o o