From 9da0447547a43c8dc0d1f5515464763ac319dc2b Mon Sep 17 00:00:00 2001 From: Thomas Constans Date: Mon, 21 Jun 2021 11:32:08 +0200 Subject: [PATCH] ajout raccourci date et heure --- vimrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/vimrc b/vimrc index e1ca78f..8360b18 100644 --- a/vimrc +++ b/vimrc @@ -124,3 +124,7 @@ noremap ifl :put =expand('%:p')ddggPI#`' "remove trailing spaces noremap Ds :%s/ *$//g +"insert date at cursor position +inoremap ,D =strftime("%F") +"insert time at cursor position +inoremap ,T =strftime("%H:%M")