From 7e08eb7a582cab05bf6b21e28649371b5a662388 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Tue, 18 Nov 2014 17:02:00 -0500 Subject: 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. --- ftplugin/python.vim | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ftplugin/python.vim') 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 nnoremap o o -- cgit v1.2.3