Skip to content

Instantly share code, notes, and snippets.

@kevincolyar
Created August 24, 2010 15:42
Show Gist options
  • Save kevincolyar/547761 to your computer and use it in GitHub Desktop.
Save kevincolyar/547761 to your computer and use it in GitHub Desktop.
iabbrev <buffer> ddate <C-R>=strftime("%Y-%m-%d")<CR>
iabbrev <buffer> ttime <C-R>=strftime("%H:%M:%S")<CR>
iabbrev <buffer> ddatetime <C-R>=strftime("%Y-%m-%d %H:%M:%S")<CR>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment