aboutsummaryrefslogtreecommitdiff
path: root/vim/vimrc
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-07-01 23:48:13 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-07-01 23:48:13 +1200
commit236a63e4d3fa1f94c80636a8c7959d4c5f9894f5 (patch)
tree95b6b311bd397e10704ab06427608112d9369108 /vim/vimrc
parentRearrange mappings a little more (diff)
downloaddotfiles-236a63e4d3fa1f94c80636a8c7959d4c5f9894f5.tar.gz
dotfiles-236a63e4d3fa1f94c80636a8c7959d4c5f9894f5.zip
Swap \c and \C bindings
Diffstat (limited to 'vim/vimrc')
-rw-r--r--vim/vimrc7
1 files changed, 4 insertions, 3 deletions
diff --git a/vim/vimrc b/vim/vimrc
index da48f4c6..f8cfc115 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -214,9 +214,10 @@ nmap ]<Space> <Plug>PutBlankLinesBelow
nnoremap <Leader>a :<C-U>ToggleOptionFlagLocal formatoptions a<CR>
" \b toggles copy-pasteable linebreak settings
nmap <Leader>b <Plug>CopyLinebreakToggle
-" \c toggles 'cursorcolumn', \C toggles 'cursorline'
-nnoremap <Bslash>c :<C-U>set cursorcolumn! cursorcolumn?<CR>
-nnoremap <Bslash>C :<C-U>set cursorline! cursorline?<CR>
+" \c toggles 'cursorline'
+nnoremap <Bslash>c :<C-U>set cursorline! cursorline?<CR>
+" \C toggles 'cursorcolumn'
+nnoremap <Bslash>C :<C-U>set cursorcolumn! cursorcolumn?<CR>
" \d inserts the local date (POSIX date)
nnoremap <Bslash>d :<C-U>read !date<CR>
" \D inserts the UTC date (POSIX date)