aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-06-11 11:41:00 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-06-11 11:43:38 +1200
commitb58548c3e64bd397fd916be14c1aadcb4695eca0 (patch)
treec7171a09549fda5e8e5a7a9752a1a9a5747b233a
parentCompletely refactor vimrc/filetype reloading (diff)
downloaddotfiles-b58548c3e64bd397fd916be14c1aadcb4695eca0.tar.gz
dotfiles-b58548c3e64bd397fd916be14c1aadcb4695eca0.zip
Arrange for :PutDate maps to accept line numbers
-rw-r--r--vim/vimrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 981c8f00..7b57f9a7 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -1304,10 +1304,10 @@ nnoremap <Leader>T
"" Leader,d inserts the local date (RFC 2822)
nnoremap <Leader>d
- \ :<C-U>PutDate<CR>
+ \ :PutDate<CR>
"" Leader,D inserts the UTC date (RFC 2822)
nnoremap <Leader>D
- \ :<C-U>UTC PutDate<CR>
+ \ :<Home>UTC<End> PutDate<CR>
" This group contains mappings that are to do with file and path management
" relative to the current buffer.