I want to highlight around of current line in Vim like VSCode.
Edit: I want to highlight up, left, down, and right of current line.
You might try just :set cursorline—
*'cursorline'* *'cul'* *'nocursorline'* *'nocul'*
'cursorline' 'cul' boolean (default off)
local to window
{not available when compiled without the |+syntax|
feature}
Highlight the text line of the cursor with CursorLine |hl-CursorLine|.
Useful to easily spot the cursor. Will make screen redrawing slower.
When Visual mode is active the highlighting isn't used to make it
easier to see the selected text.
Also see cursorlineopt.
To get something more like your screenshot, you can :highlight CursorLine and set, e.g., ctermbg and guibg to soft-gray values (60 and 424450 work for me).
Conoline.vim This plugin highlights the line of the cursor, only in the current window. The colors change according to the mode (normal/insert). Colors in each mode are independently customizable.
:h cursorline. For "around" the cursor line though, it will require some scripting.. – Zorzi Feb 19 '21 at 23:40:h cursorline) is possible in vim. – Andrew Ho-Lee Feb 20 '21 at 11:36