summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlliver Schinagl <oliver@schinagl.nl>2016-02-24 08:16:59 (GMT)
committerOlliver Schinagl <oliver@schinagl.nl>2017-04-18 08:05:35 (GMT)
commit467cfdcc8078b2030c1f0065d6f0795e5b2aa992 (patch)
tree1f737968907d41377615962c5ab5f795353c98b8
parentc78b21db9d0420ca74e77a49e2e2c174ec034618 (diff)
downloaddotfiles-467cfdcc8078b2030c1f0065d6f0795e5b2aa992.zip
dotfiles-467cfdcc8078b2030c1f0065d6f0795e5b2aa992.tar.gz
dotfiles-467cfdcc8078b2030c1f0065d6f0795e5b2aa992.tar.bz2
vim: Enable line-numbering, wrap-around symbol and hi-color terminal
-rw-r--r--.gvimrc5
-rw-r--r--.vimrc8
2 files changed, 13 insertions, 0 deletions
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