add fez/time-stamp
This commit is contained in:
parent
b2d7230292
commit
fe7ca6b0b4
|
@ -50,6 +50,10 @@
|
||||||
(key-description (read-key-sequence-vector "Key sequence: "))
|
(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.
|
;; Eshell convinience commands.
|
||||||
(defalias 'open 'find-file-other-window)
|
(defalias 'open 'find-file-other-window)
|
||||||
(defalias 'clean 'eshell/clear-scrollback)
|
(defalias 'clean 'eshell/clear-scrollback)
|
||||||
|
@ -68,6 +72,8 @@
|
||||||
;; Insipiration from Nyxt, kill the current buffer.
|
;; Insipiration from Nyxt, kill the current buffer.
|
||||||
(global-set-key (kbd "C-x C-k") 'kill-this-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.
|
;; Binds for switching between light and dark themes.
|
||||||
(global-set-key [f5] (lambda ()
|
(global-set-key [f5] (lambda ()
|
||||||
(interactive)
|
(interactive)
|
||||||
|
|
Loading…
Reference in New Issue