From d549c7ab6c7d171879693c57e7b2a505b112d65d Mon Sep 17 00:00:00 2001 From: Sebastian Burschel Date: Sun, 13 Oct 2019 11:23:19 +0200 Subject: [PATCH] Added comments and new options --- dotfiles/.vimrc | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/dotfiles/.vimrc b/dotfiles/.vimrc index 18112cf..4e4b278 100644 --- a/dotfiles/.vimrc +++ b/dotfiles/.vimrc @@ -236,9 +236,18 @@ if filereadable($HOME . "/.vimrc.local") source ~/.vimrc.local endif +" Relative line numbers, but real line number for current line set number relativenumber set nu rnu +" Keep 8 rows above and below the kk set scrolloff=8 +" Jump to wrapped line instead of next real line. +nnoremap j gj +nnoremap k gk + +" Do not cut words when breaking lines. +set linebreak + colorscheme blackboard