diff options
author | Mario Forzanini <mf@marioforzanini.com> | 2024-02-07 12:41:08 +0100 |
---|---|---|
committer | Mario Forzanini <mf@marioforzanini.com> | 2024-02-07 12:41:08 +0100 |
commit | b33ef7ff70389bc6394835936c1496a08ceafffe (patch) | |
tree | c1be0a1480cd47e44afa0642c18b33184069d1bf /mf-lisp/mf-splash.el | |
parent | 07e9cc9bc1887e5621e3b23a924200e8ead19ba7 (diff) |
Diffstat (limited to 'mf-lisp/mf-splash.el')
-rw-r--r-- | mf-lisp/mf-splash.el | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/mf-lisp/mf-splash.el b/mf-lisp/mf-splash.el index c49eb0d..47e149a 100644 --- a/mf-lisp/mf-splash.el +++ b/mf-lisp/mf-splash.el @@ -81,7 +81,6 @@ (defun mf/splash-screen () "A custom splash screen for Emacs." (interactive) - ;; check if splash exists and switch if so (if (get-buffer "*splash*") (switch-to-buffer "*splash*") @@ -139,12 +138,6 @@ 'face 'warning 'follow-link t) (forward-line 1) - (center-button " [c] Config\n" width - 'action (lambda (_) (mf/open-emacsd)) - 'help-echo "Visit setup directory" - 'face 'warning - 'follow-link t) - (forward-line 1) (center-button " [f] File\n" width 'action (lambda (_) (find-file)) 'help-echo "Open file" @@ -216,6 +209,7 @@ (define-key map (kbd "N") 'org-roam-node-find) (define-key map (kbd "P") 'mf/project-find-file-and-persp) (define-key map (kbd "q") 'mf/splash-screen-kill) + (define-key map (kbd "g") 'mf/splash-screen) (define-key map (kbd "n") 'next-line) (define-key map (kbd "p") 'previous-line))) |