From ae0b391b56037701114e5a62a7235cb67ae71cbd Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Thu, 21 Jun 2018 12:55:03 +1200 Subject: Add \c and \C bindings for cursor lines --- vim/vimrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vim/vimrc b/vim/vimrc index 6f699bb7..f12ac69e 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -273,6 +273,9 @@ endif nnoremap \a :ToggleOptionFlagLocal formatoptions a " \b toggles copy-pasteable linebreak settings nmap \b CopyLinebreakToggle +" \c toggles 'cursorcolumn', \C toggles 'cursorline' +nnoremap \c :set cursorcolumn! cursorcolumn? +nnoremap \C :set cursorline! cursorline? " Current date and time insertion commands, requiring POSIX date(1) if has('unix') " \d: Local date -- cgit v1.2.3