add fez/time-stamp

This commit is contained in:
opfez 2021-05-26 14:20:59 +02:00
parent b2d7230292
commit fe7ca6b0b4
1 changed files with 6 additions and 0 deletions

View File

@ -50,6 +50,10 @@
(key-description (read-key-sequence-vector "Key sequence: "))
"\")")))
(defun fez/time-stamp ()
(interactive)
(shell-command "LANG=nb_NO.UTF-8 date +%d-%m-%Y" t))
;; Eshell convinience commands.
(defalias 'open 'find-file-other-window)
(defalias 'clean 'eshell/clear-scrollback)
@ -68,6 +72,8 @@
;; Insipiration from Nyxt, kill the current buffer.
(global-set-key (kbd "C-x C-k") 'kill-this-buffer)
(global-set-key (kbd "C-c t") 'fez/time-stamp)
;; Binds for switching between light and dark themes.
(global-set-key [f5] (lambda ()
(interactive)