From c63cb6ae86b441434a5ed1d55cb3ecd77b52cbf2 Mon Sep 17 00:00:00 2001 From: "chawley (overlook)" Date: Mon, 14 Apr 2025 09:49:54 -0400 Subject: [PATCH] Added keybinding for datestamp Added additional keybinding to mimic datestamp entry from VS Code (-i) --- .vimrc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.vimrc b/.vimrc index bc029f6..10bb010 100644 --- a/.vimrc +++ b/.vimrc @@ -278,8 +278,15 @@ nnoremap k gk " --------------------------------------------------------------------------------------------------------------------- " ==> Keymaps: Date and Time stamps +" Send date and time imap =strftime("%Y-%m-%d %H:%M:%S") + +" Send date and DOW imap =strftime("%Y-%m-%d %a") +" alternate keybinding I use in VS Code +imap =strftime("%Y-%m-%d %a") + +" Sends date imap =strftime("%Y-%m-%d") " ---------------------------------------------------------------------------------------------------------------------