X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=vim%2Fvimrc;h=344e5732fd4f8439d72312eb4fd2e345b86cc886;hb=7be7c4895081c29d848853149f95d19f12df4cb7;hp=39154607ea1c619e8eff78be1aaee957495df47d;hpb=87a29e6b1d34b16257f1dd9325ea4f1d95eb8e97;p=smckown%2Fdotfiles.git diff --git a/vim/vimrc b/vim/vimrc index 3915460..344e573 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -399,6 +399,9 @@ endfunction " Insert date and time in insert mode. Have to use the native , not " its re-mapped version -imap d =strftime("%Y%m%d") -imap D =strftime("%Y-%m-%d") -imap t =strftime("%H:%M:%S") +"nmap dd "=strftime('%Y%m%d')p +"imap dd =strftime('%Y%m%d') +"nmap dD "=strftime('%Y-%m-%d')p +"imap dD =strftime('%Y-%m-%d') +"nmap dt "=strftime('%H:%M:%S')p +"imap dt =strftime('%H:%M:%S')