summaryrefslogtreecommitdiffstats
path: root/runtime/defaults.vim
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/defaults.vim')
-rw-r--r--runtime/defaults.vim3
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/defaults.vim b/runtime/defaults.vim
index 0ff834a2a0..2460fd8c30 100644
--- a/runtime/defaults.vim
+++ b/runtime/defaults.vim
@@ -31,7 +31,8 @@ set ttimeoutlen=100 " wait up to 100ms after Esc for special key
" Show @@@ in the last line if it is truncated.
set display=truncate
-" Show a few lines of context around the cursor.
+" Show a few lines of context around the cursor. Note that this makes the
+" text scroll if you mouse-click near the start or end of the window.
set scrolloff=5
" Do incremental searching when it's possible to timeout.