vim

vim config files
git clone https://git.bracken.jp/vim.git
Log | Files | Refs | LICENSE

commit be7057df90eae64f723927caba84925f7c30b027
parent 32f72c985400ac61312f0857362775b433bdb55a
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:
Mvimrc | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/vimrc b/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