'Don't apply highlighting on cursor

I highlighted my CursorLine with

highlight CursorLine cterm=NONE ctermbg=black ctermfg=yellow

I'd like to preserve the original highlighting for the cursor (black/white). I tried this settings:

highlight Cursor ctermbg=white ctermfg=black

which does not work.

How can I highlight the CursorLine without highlighting the cursor?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source