Reputation: 20129
I would like to insert dates in an emacs buffer like I do in org-mode (C-c .
), while in a mode other than org. Is there a minor mode for this? Calendar does not do what I need, since I can "+1" a day, for instance.
Thanks.
Upvotes: 5
Views: 299
Reputation: 74450
There isn't a minor mode, but you can do this:
(global-set-key (kbd "C-c .") 'org-time-stamp)
Or define the key in whatever mode/keymap you want. Note, this keybinding might conflict with key bindings in other modes. Key bindings reserved for users are C-c x (where x
is any lower or upper case letter).
Upvotes: 10