diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-07-01 23:48:32 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-07-01 23:48:32 +1200 |
commit | cc8561269c9bcca317bca607f75dd6c0e02a6694 (patch) | |
tree | e5714e7544bf79660ad14dbf4b8c14b1c714b5e5 /vim/vimrc | |
parent | Swap \c and \C bindings (diff) | |
download | dotfiles-cc8561269c9bcca317bca607f75dd6c0e02a6694.tar.gz dotfiles-cc8561269c9bcca317bca607f75dd6c0e02a6694.zip |
Allow range for \d and \D bindings
Diffstat (limited to 'vim/vimrc')
-rw-r--r-- | vim/vimrc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |