From 68ff53e78568f675d88005e1720d8c9a6d7bd912 Mon Sep 17 00:00:00 2001 From: Alpha Chen Date: Mon, 4 Oct 2021 21:00:33 -0700 Subject: [PATCH] [vim] enable cursorline --- .vimrc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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 " }}}