From 80fc648fad0952d8f0dbbf085a7d93f06214ea4e Mon Sep 17 00:00:00 2001 From: Joe Groocock Date: Sat, 31 Mar 2018 21:54:36 +0100 Subject: [PATCH] vim: highlight cursor position with cursor{line,column} --- .config/vim/vimrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.config/vim/vimrc b/.config/vim/vimrc index 451c9f8..1a0c802 100644 --- a/.config/vim/vimrc +++ b/.config/vim/vimrc @@ -74,6 +74,10 @@ if exists('+colorcolumn') autocmd filetype c,h,cpp,hpp match ErrorMsg '\%>80v.\+' endif +" Highlight line and column of cursor +set cul cuc +highlight CursorLine cterm=NONE ctermbg=8 +highlight CursorColumn cterm=NONE ctermbg=8 " set the runtime path to include Vundle and initialize set rtp+=~/.config/vim/bundle/Vundle.vim