1
0
mirror of https://codeberg.org/diginaut/dotfiles.git synced 2026-02-04 13:30:26 +01:00

Abbreviation shortcuts for date, time, uuid

This commit is contained in:
2026-01-24 20:14:12 +01:00
parent cf93d46371
commit 443e7c3652

7
.vimrc
View File

@@ -674,6 +674,13 @@ iab <expr> dayh strftime("== %Y%m%d %A ======")
" Replace 'timeh' with a formatted date/time header
iab <expr> timeh strftime("## %Y%m%d %a %H:%M:%S")
iabbrev <expr> ,d strftime('%Y-%m-%d')
iabbrev <expr> ,t strftime('%Y-%m-%dT%TZ')
inoreabbrev <expr> ,u system('uuidgen')->trim()->tolower()
" vim.cmd("iabbrev <expr> ,d strftime('%Y-%m-%d')")
" vim.cmd("iabbrev <expr> ,t strftime('%Y-%m-%dT%TZ')")
" vim.cmd("inoreabbrev <expr> ,u system('uuidgen')->trim()->tolower()")
" Fly through buffers instead of cycling
" nnoremap <leader>l :ls<cr>:b<space>