문제

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.

도움이 되었습니까?

해결책

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).

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top