From c2b20eaba1c0a6e507fdaff6564203983860b0be Mon Sep 17 00:00:00 2001 From: Michiel Scholten Date: Fri, 6 Nov 2015 13:01:02 +0100 Subject: [PATCH] Quickly insert date/time header --- .vimrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.vimrc b/.vimrc index de59eb2..9251e93 100644 --- a/.vimrc +++ b/.vimrc @@ -236,6 +236,8 @@ map jt :%!json_xs -f json -t json-pretty " Replace 'dayh' with a formatted day header iab dayh strftime("== %Y%m%d %A ======") +" Replace 'timeh' with a formatted date/time header +iab timeh strftime("## %Y%m%d %a %H:%M:%S") " Fly through buffers instead of cycling nnoremap l :ls:b