From 0ff4ffd67dafcb4ceb8c2ba4ec32fcddfb0b1983 Mon Sep 17 00:00:00 2001 From: druckdev <63563978+druckdev@users.noreply.github.com> Date: Mon, 23 Nov 2020 02:23:45 +0100 Subject: [PATCH] vim: Add scrolloffset and enable mouse --- .config/vim/vimrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.config/vim/vimrc b/.config/vim/vimrc index faac060..f7ab003 100644 --- a/.config/vim/vimrc +++ b/.config/vim/vimrc @@ -91,6 +91,10 @@ endif " Show whitespace characters set list set listchars=tab:>ยท +" Keep current line away from top/bottom borders of the buffer when scrolling +set scrolloff=15 +" Enable mouse in normal and visual mode +set mouse=nv " Keybindings ################################################################## " Stop highlighting search result when pressing Return