Added keybinding for datestamp

Added additional keybinding to mimic datestamp entry from VS Code (<crtl><shift>-i)
This commit is contained in:
2025-04-14 09:49:54 -04:00
parent a2c808e92d
commit c63cb6ae86

7
.vimrc
View File

@@ -278,8 +278,15 @@ nnoremap k gk
" ---------------------------------------------------------------------------------------------------------------------
" ==> Keymaps: Date and Time stamps
" Send date and time
imap <F2> <C-R>=strftime("%Y-%m-%d %H:%M:%S")<CR>
" Send date and DOW
imap <F3> <C-R>=strftime("%Y-%m-%d %a")<CR>
" alternate keybinding I use in VS Code
imap <C-S-i> <C-R>=strftime("%Y-%m-%d %a")<CR>
" Sends date
imap <F4> <C-R>=strftime("%Y-%m-%d")<CR>
" ---------------------------------------------------------------------------------------------------------------------