by Steve Dondley

⬅ Notes listing

Author's note: The note below is part of a digital garden. Therefore, it is likely incomplete, inaccurate or both. In other words, it's just like other information sources but perhaps to a higher degree. That said, it may still be worth exploring.

Insert date in vim

  • normal mode
    • nnoremap <F4> "=strftime("%m/%d/%y")<CR>P
  • insert mode
    • inoremap <F4> <C-R>=strftime("%m/%d/%y")<CR>

Other notes linking here:


View the edit history