dotfiles

Personal dotfiles
git clone https://git.bracken.jp/dotfiles.git
Log | Files | Refs | LICENSE

commit e1c272ab078ea4f1aaf1b5b548940e645b29511d
parent 4c7fa0f4deb1f0afdfff2db1abd8ba1b078213c5
Author: Chris Bracken <chris@bracken.jp>
Date:   Sun, 19 Jan 2020 10:22:21 -0800

Set current line highlight for line numbers

This sets the same highlight background + boldface in the number line
that is already used for the rest of the current line. Previously, the
current line background only covered the line itself and not the line
numbers column and the colour was being set manually to 15 rather than
just using 'bold'.

Diffstat:
M.vim/vimrc | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/.vim/vimrc b/.vim/vimrc @@ -136,14 +136,14 @@ if &t_Co > 2 hi Pmenu ctermbg=0 ctermfg=8 hi PmenuSel ctermbg=8 ctermfg=15 + " Line numbers + hi LineNr ctermfg=7 + " Highlight cursor line, max column set cursorline hi ColorColumn guibg=grey24 ctermbg=235 hi CursorLine guibg=grey24 ctermbg=235 cterm=bold - - " Line numbers - hi LineNr ctermfg=7 - hi CursorLineNr ctermfg=15 + hi CursorLineNr ctermbg=235 cterm=bold if has("autocmd") " Cursor line highlighting