Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

[Elisp] insert-time provides an easy way to insert time and date stamps into your emacs buffers

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 README.markdown
Octocat-spinner-32 insert-time.el
README.markdown

Purpose

insert-time provides an easy way to insert time and date stamps into your files

Usage

Example of lines to be added to your .emacs:

(require 'insert-time)

; in case you don't like the defaults
; (see `format-time-string' for format)
(setq insert-date-format "%Y-%m-%d")
(setq insert-time-format "%H:%M:%S")

; keyboard shortcuts
(define-key global-map [(control c)(d)] 'insert-date-time)
(define-key global-map [(control c)(control v)(d)] 'insert-personal-time-stamp)

How it works

just a few inserts using the emacs built in format-time-string

Something went wrong with that request. Please try again.