aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-09-04 11:42:03 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-09-04 11:42:03 +1200
commite766d8afa2b1fdd84a53683685ec8140899747ce (patch)
treed93980c57e9be4839d2a1c3eb604fa33cc735ce9
parent02d2f19ea6036f2be9fdf94bf0e53591a7003721 (diff)
downloaddotfiles-e766d8afa2b1fdd84a53683685ec8140899747ce.tar.gz
Comment to explain \c,\C mappings
-rw-r--r--vim/vimrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 640f334a..3eb6236f 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -255,9 +255,9 @@ nnoremap <Bslash>a :<C-U>ToggleFlagLocal formatoptions a<CR>
" \b toggles copy-pasteable linebreak settings
nmap <Bslash>b <Plug>(CopyLinebreakToggle)
-" \c toggles 'cursorline'
+" \c toggles 'cursorline'; no visual mode map as it doesn't work
nnoremap <Bslash>c :<C-U>setlocal cursorline! cursorline?<CR>
-" \C toggles 'cursorcolumn'
+" \C toggles 'cursorcolumn'; works in visual mode
nnoremap <Bslash>C :<C-U>setlocal cursorcolumn! cursorcolumn?<CR>
if exists(':xnoremap')
xnoremap <Bslash>C :<C-U>setlocal cursorcolumn! cursorcolumn?<CR>gv