diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-06-21 12:55:03 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-06-21 12:55:03 +1200 |
commit | ae0b391b56037701114e5a62a7235cb67ae71cbd (patch) | |
tree | 106986ca68c5af844f1b6a551c427ef8ff62392b /vim | |
parent | Add 'belloff' .vimrc setting (diff) | |
download | dotfiles-ae0b391b56037701114e5a62a7235cb67ae71cbd.tar.gz dotfiles-ae0b391b56037701114e5a62a7235cb67ae71cbd.zip |
Add \c and \C bindings for cursor lines
Diffstat (limited to 'vim')
-rw-r--r-- | vim/vimrc | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -273,6 +273,9 @@ endif nnoremap \a :<C-U>ToggleOptionFlagLocal formatoptions a<CR> " \b toggles copy-pasteable linebreak settings nmap \b <Plug>CopyLinebreakToggle +" \c toggles 'cursorcolumn', \C toggles 'cursorline' +nnoremap \c :<C-U>set cursorcolumn! cursorcolumn?<CR> +nnoremap \C :<C-U>set cursorline! cursorline?<CR> " Current date and time insertion commands, requiring POSIX date(1) if has('unix') " \d: Local date |