Add to vimrc and change 'dates' to desired text:
:iab <expr> dates '**' . strftime("%m/%d/%y") . '**'
From: https://vim.fandom.com/wiki/Insert_current_date_or_time
Add to vimrc and change 'dates' to desired text:
:iab <expr> dates '**' . strftime("%m/%d/%y") . '**'
From: https://vim.fandom.com/wiki/Insert_current_date_or_time
© 2024 Code0x378