From 71b7365fd2a4000a852a6d9a4f504c484f643715 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Fri, 27 Feb 2015 21:07:01 +0100 Subject: Marked Vim's `cursorline` as toggleable * compromise as there is no straight forward way to only highlight the current line number but not the whole line while maintaining line highlighting in e.g. _CtrlP_ --- vim/.vimrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'vim/.vimrc') diff --git a/vim/.vimrc b/vim/.vimrc index 5028670..52b22c1 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -5,8 +5,8 @@ filetype plugin indent on set encoding=utf-8 set showcmd set nocompatible +set nocursorline set number -set cursorline set lazyredraw set ttyfast set mouse=a @@ -75,3 +75,4 @@ let g:gitgutter_highlight_lines = 1 nnoremap :GundoToggle nnoremap :GitGutterToggle +nnoremap :set cursorline! -- cgit v1.2.3