diff --git a/init.el b/init.el index 1a1018e..703b6d4 100644 --- a/init.el +++ b/init.el @@ -67,6 +67,7 @@ (load (concat user-emacs-directory "toggle-window-split.el")) (load (concat user-emacs-directory "round-number-to-decimals.el")) (load (concat user-emacs-directory "transpose-windows.el")) +(load (concat user-emacs-directory "zim.el")) (load (concat user-emacs-directory "clearcase.el")) (add-hook 'c-mode-hook diff --git a/zim.el b/zim.el new file mode 100644 index 0000000..e3896e0 --- /dev/null +++ b/zim.el @@ -0,0 +1,6 @@ +(defun insert-zim-timestamp () + (interactive) + (insert (format-time-string "%Y-%m-%dT%H:%M:%S%z")) + (forward-char -2) + (insert ":") + (forward-char 2))