From 443e7c365214b2fe7bdfaa7d2cfb7c7032a36c27 Mon Sep 17 00:00:00 2001 From: Michiel Scholten Date: Sat, 24 Jan 2026 20:14:12 +0100 Subject: [PATCH] Abbreviation shortcuts for date, time, uuid --- .vimrc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.vimrc b/.vimrc index 0860bb4..9288f5b 100644 --- a/.vimrc +++ b/.vimrc @@ -674,6 +674,13 @@ 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") +iabbrev ,d strftime('%Y-%m-%d') +iabbrev ,t strftime('%Y-%m-%dT%TZ') +inoreabbrev ,u system('uuidgen')->trim()->tolower() +" vim.cmd("iabbrev ,d strftime('%Y-%m-%d')") +" vim.cmd("iabbrev ,t strftime('%Y-%m-%dT%TZ')") +" vim.cmd("inoreabbrev ,u system('uuidgen')->trim()->tolower()") + " Fly through buffers instead of cycling " nnoremap l :ls:b