aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2016-10-25 05:58:43 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2016-10-25 05:58:43 +0300
commitd0f89865a80406f91c8d2b682b17a99bc4186b51 (patch)
tree95885e95b098082e5d74a49b98c138901e058507
parent.vimrc: don't indent public:, private:, etc. (diff)
downloadlinux-home-d0f89865a80406f91c8d2b682b17a99bc4186b51.tar.gz
linux-home-d0f89865a80406f91c8d2b682b17a99bc4186b51.zip
.vimrc: fix colors
Diffstat (limited to '')
-rw-r--r--%HOME%/.vimrc12
1 files changed, 11 insertions, 1 deletions
diff --git a/%HOME%/.vimrc b/%HOME%/.vimrc
index 582fe4f..752cffc 100644
--- a/%HOME%/.vimrc
+++ b/%HOME%/.vimrc
@@ -7,9 +7,11 @@ color desert
set softtabstop=4
set shiftwidth=4
set expandtab
+
+" C++'s public/private/protected keywords don't increase indentation level.
set cinoptions+=g0
-highlight ColorColumn ctermbg=darkgrey
+set colorcolumn=80
" In insert mode, press F2 to enter 'paste mode'.
" Now you can paste text from elsewhere and _not_ mess up indentation.
@@ -52,3 +54,11 @@ set secure
" Case-insensitive (more precisely, so-called smart) search.
set ignorecase
set smartcase
+
+hi Search ctermfg=black
+hi IncSearch ctermfg=black
+
+hi MatchParen ctermfg=black
+
+hi Error ctermfg=black
+hi ErrorMsg ctermfg=black