VIM highlight the current row only displays the underline problem solution in the VIM configuration, there is a command to highlight the current row/column, but I do not know why, VIM on my computer highlights the current line with only one underline, but GVIM is normal. I searched the internet for half a day and finally did not find a solution. After thinking about it, I had to go back to the next step and solve the problem in a stupid way. First, the configuration commands for highlighting columns in VIMRC are: set cursorline and set cursorcolumn, but some of them may be abnormal, just like I only display one underline. In fact, the highlighted colors can be edited freely: Set the color of the highlighted line: hi CursorLine cterm = NONE ctermbg = black ctermfg = green guibg = NONE guifg = NONE set the color of the highlighted column: hi CursorColumn cterm = NONE ctermbg = black ctermfg = green guibg = NONE guifg = NONE where ctermbg sets the background color, ctermfg sets the foreground color, and guibg sets the background color of the underline, guifg is the prefix of an underline. "=" Is followed by the color. You can change them to the color you like. NONE indicates the default value. To avoid the underline, you only need to set the last two items to NONE.