aboutsummaryrefslogtreecommitdiffstats
path: root/vimrc
diff options
context:
space:
mode:
Diffstat (limited to 'vimrc')
-rw-r--r--vimrc6
1 files changed, 5 insertions, 1 deletions
diff --git a/vimrc b/vimrc
index fb9aa89..ed9824c 100644
--- a/vimrc
+++ b/vimrc
@@ -530,7 +530,11 @@ set wrap " Soft wrap
set linebreak " Don't wrap in the middle of words. Only works when nolist is set
set scrolloff=3 " Scroll offset: always keep 3 lines
-set smoothscroll " Allow scrolling wrapped screen lines.
+
+" Allow scrolling wrapped screen lines.
+if exists('+smoothscroll')
+ set smoothscroll
+endif
set showmatch " Highlight matching braces etc.
set hlsearch " Highlight searches