aboutsummaryrefslogtreecommitdiff
path: root/after/ftplugin
diff options
context:
space:
mode:
authorjdhao <jdhao@hotmail.com>2020-01-21 15:39:20 +0800
committerGitHub <noreply@github.com>2020-01-21 15:39:20 +0800
commitc20f15ad10d1c1d91701aa1084b4ea2de8cfa47a (patch)
treeb2254bbf13075cc23ae39a24fc00dce1c6415456 /after/ftplugin
parent3fe088a34b5db71b627f9bb288a8949afa0ce9c2 (diff)
Update python settings
Diffstat (limited to 'after/ftplugin')
-rw-r--r--after/ftplugin/python.vim5
1 files changed, 5 insertions, 0 deletions
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 <silent> <F9> :AsyncRun python -u "%"<CR>
endif
+
+" Do not wrap Python source code.
+set nowrap
+set sidescroll=5
+set sidescrolloff=2