highlight current line and column

1 Point

Janusz Kowalczyk Janusz Kowalczyk

5 years ago

Will highlight current line and column, which will make it look like a target cross :)

:set cursorline cursorcolumn
nnoremap <Leader>c :set cursorline! cursorcolumn!<CR>
hi CursorLine   cterm=NONE ctermbg=darkgray ctermfg=NONE "guibg=lightgrey guifg=white
hi CursorColumn cterm=NONE ctermbg=darkgray ctermfg=NONE "guibg=lightgrey guifg=white

drasill

drasill 5 years ago

This is great, but it slows down vim a lot (especially cursorcolumn).