I'm running Vim 8.2 on macOS 10.14.6 (Mojave) on the native macOS Terminal program. I recently changed my terminal font to Courier 12, Regular weight, and discovered a strangely annoying issue which seems to be specific to this font. I've looked online about this issue but unfortunately did not come across anything.
When using the Netrw directory listing, as I scroll down the cursorline disappears. When I scroll up, the cursorline remains in every line through which I have scrolled up. Oddly, when I scroll up above the top of the terminal window, the cursorline seems to reset to only the current line. If I switch the font, the cursorline always is under only the currently selected line, as expected.
A picture is attached below. I took this immediately after scrolling to the bottom of the directory listing and then scrolling back up to the top.
From what I can tell, my .vimrc (following) should not affect the cursorline:
:set autoindent :set number :set ruler :set expandtab function! SetTabSize(size) execute "set tabstop=".a:size execute "set shiftwidth=".a:size execute "set softtabstop=".a:size endfunction command! -nargs=1 Sts call SetTabSize(<f-args>) :Sts 2 :syntax on
Has anyone else experienced this issue? Is there a solution? Perhaps there is something I am missing. Thank you!