aboutsummaryrefslogtreecommitdiff
path: root/vim/vimrc
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-07-01 23:48:32 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-07-01 23:48:32 +1200
commitcc8561269c9bcca317bca607f75dd6c0e02a6694 (patch)
treee5714e7544bf79660ad14dbf4b8c14b1c714b5e5 /vim/vimrc
parentSwap \c and \C bindings (diff)
downloaddotfiles-cc8561269c9bcca317bca607f75dd6c0e02a6694.tar.gz
dotfiles-cc8561269c9bcca317bca607f75dd6c0e02a6694.zip
Allow range for \d and \D bindings
Diffstat (limited to 'vim/vimrc')
-rw-r--r--vim/vimrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/vim/vimrc b/vim/vimrc
index f8cfc115..c4f6c2dd 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -219,9 +219,9 @@ 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>
+nnoremap <Bslash>d :read !date<CR>
" \D inserts the UTC date (POSIX date)
-nnoremap <Bslash>D :<C-U>read !date -u<CR>
+nnoremap <Bslash>D :read !date -u<CR>
" \f shows the current 'formatoptions' at a glance
nnoremap <Bslash>f :<C-U>set formatoptions?<CR>
" \g changes directory to the current file's location