From 467cfdcc8078b2030c1f0065d6f0795e5b2aa992 Mon Sep 17 00:00:00 2001 From: Olliver Schinagl Date: Wed, 24 Feb 2016 09:16:59 +0100 Subject: vim: Enable line-numbering, wrap-around symbol and hi-color terminal --- .gvimrc | 5 +++++ .vimrc | 8 ++++++++ 2 files changed, 13 insertions(+) diff --git a/.gvimrc b/.gvimrc index 001c1fc..0243d48 100644 --- a/.gvimrc +++ b/.gvimrc @@ -26,3 +26,8 @@ setlocal spell spelllang=en_us " Increase the update time of various operations for improved plugin handling set updatetime=500 + +" Show '↪ ' at the beginning of wrapped lines +if has("linebreak") + let &sbr = '↪ ' +endif diff --git a/.vimrc b/.vimrc index c39c1d7..b8fb2b3 100644 --- a/.vimrc +++ b/.vimrc @@ -69,3 +69,11 @@ endif " Show a marker to help identify the 80 char limit set colorcolumn=80 + +" Use color terminal if available +if &t_Co > 2 + set t_Co=256 +endif + +" Always show line numbering +set nu -- cgit v0.12