diff --git a/.vimrc b/.vimrc index 20a7ce6..737cab8 100644 --- a/.vimrc +++ b/.vimrc @@ -70,11 +70,11 @@ set splitright set lazyredraw " only show cursorline in current window -" augroup CursorLine -" au! -" au VimEnter,WinEnter,BufWinEnter * setlocal cursorline -" au WinLeave * setlocal nocursorline -" augroup END +augroup CursorLine + au! + au VimEnter,WinEnter,BufWinEnter * setlocal cursorline + au WinLeave * setlocal nocursorline +augroup END " }}}