aboutsummaryrefslogtreecommitdiffstats
path: root/nvim
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2018-07-19 13:03:51 +0200
committerJohannes Löthberg <johannes@kyriasis.com>2018-07-19 13:03:51 +0200
commitaea9be4b70a681df4c5f4c0837fbfec3a4a135cd (patch)
treeba15549297b786fb0d790c6eab8b3fbe07a6ad09 /nvim
parentd5bf5c9618d89e1270db97dcba8a335dac199183 (diff)
downloaddotfiles-aea9be4b70a681df4c5f4c0837fbfec3a4a135cd.tar.xz
nvim: change scrolloff to 4
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
Diffstat (limited to 'nvim')
-rw-r--r--nvim/init.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/nvim/init.vim b/nvim/init.vim
index 1b9ee72..6376698 100644
--- a/nvim/init.vim
+++ b/nvim/init.vim
@@ -29,7 +29,7 @@ set backup " Always keep backup files in case of crashes
set undofile " Save undo's after file closes
set shortmess+=I " Don't show the nag-screen
set showcmd " Show partial command in the last line of the screen
-set scrolloff=1 " Minimum number of screen lines under/above the cursor
+set scrolloff=4 " Minimum number of screen lines under/above the cursor
set linebreak " Don’t wrap lines in the middle of a word
set spelllang=en_us
set backupdir=$XDG_DATA_HOME/nvim/backup " Don't write backups in current dir