commit 4e281df908efbcc940a05170e37e86e433277149
Author: Simon Watson <spw01@protonmail.com>
Date: Mon Jul 12 08:51:52 2021 -0400
Added date-to-point macro
diff --git a/emacs/.emacs-all b/emacs/.emacs-all
index 1751f00..92d3b8e 100644
--- a/emacs/.emacs-all
+++ b/emacs/.emacs-all
@@ -128,13 +128,16 @@
(interactive)
(load-file (file-truename "~/.emacs")))
-;; Enable diff-hl mode
+;; Keybinds/macros
(global-set-key (kbd "C-c e") 'diff-hl-mode)
(global-set-key (kbd "C-c d") 'dimmer-mode)
(global-set-key (kbd "C-c s") 'sublimity-mode)
(global-set-key (kbd "C-c f") 'focus-mode)
(global-set-key (kbd "C-c r") 'reload-dot-emacs)
+(fset 'date-to-point
+ (kmacro-lambda-form [?\C-u ?\M-! ?d ?a ?t ?e return] 0 "%d"))
+
;;; Erc config
(setq erc-nick "speskk")
@@ -176,7 +179,6 @@
(load-theme 'nano t)
(nano-dark)))
-
;; Load for Linux
;; Load for Linux Term