From c20f15ad10d1c1d91701aa1084b4ea2de8cfa47a Mon Sep 17 00:00:00 2001 From: jdhao Date: Tue, 21 Jan 2020 15:39:20 +0800 Subject: [PATCH] Update python settings --- after/ftplugin/python.vim | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/after/ftplugin/python.vim b/after/ftplugin/python.vim index 67eb0c8..13d1fdc 100644 --- a/after/ftplugin/python.vim +++ b/after/ftplugin/python.vim @@ -1,3 +1,8 @@ if exists(':AsyncRun') nnoremap :AsyncRun python -u "%" endif + +" Do not wrap Python source code. +set nowrap +set sidescroll=5 +set sidescrolloff=2