[emacs] Modification for emacs.
This commit is contained in:
parent
b103ec8cb7
commit
3fc7b413b7
@ -47,34 +47,33 @@
|
||||
(dashboard-startup-banner
|
||||
(expand-file-name "images/KEC_Dark_BK_Small.png" user-emacs-directory))
|
||||
(dashboard-items '((recents . 7)
|
||||
(bookmarks . 7)
|
||||
(agenda . 5)))
|
||||
(bookmarks . 7)
|
||||
(agenda . 5)))
|
||||
(dashboard-set-heading-icons t)
|
||||
(dashboard-set-navigator t)
|
||||
(initial-buffer-choice (lambda () (get-buffer dashboard-buffer-name)))
|
||||
(dashboard-navigator-buttons
|
||||
(if (featurep 'all-the-icons)
|
||||
`(((,(all-the-icons-octicon "mark-github" :height 1.1 :v-adjust -0.05)
|
||||
"M-EMACS" "Browse M-EMACS Homepage"
|
||||
(lambda (&rest _) (browse-url "https://github.com/MatthewZMD/.emacs.d")))
|
||||
(,(all-the-icons-fileicon "elisp" :height 1.0 :v-adjust -0.1)
|
||||
"Configuration" "" (lambda (&rest _) (edit-configs)))))
|
||||
"M-EMACS" "Browse M-EMACS Homepage"
|
||||
(lambda (&rest _) (browse-url "https://github.com/MatthewZMD/.emacs.d")))
|
||||
(,(all-the-icons-fileicon "elisp" :height 1.0 :v-adjust -0.1)
|
||||
"Configuration" "" (lambda (&rest _) (edit-configs)))))
|
||||
`((("" "M-EMACS" "Browse M-EMACS Homepage"
|
||||
(lambda (&rest _) (browse-url "https://github.com/MatthewZMD/.emacs.d")))
|
||||
("" "Configuration" "" (lambda (&rest _) (edit-configs)))))))
|
||||
(lambda (&rest _) (browse-url "https://github.com/MatthewZMD/.emacs.d")))
|
||||
("" "Configuration" "" (lambda (&rest _) (edit-configs)))))))
|
||||
:custom-face
|
||||
(dashboard-banner-logo-title ((t (:family "Love LetterTW" :height 123))))
|
||||
:config
|
||||
(if (< (length command-line-args) 2)
|
||||
(initial-buffer-choice (lambda () (get-buffer dashboard-buffer-name))))
|
||||
(dashboard-modify-heading-icons '((recents . "file-text")
|
||||
(bookmarks . "book")))
|
||||
(bookmarks . "book")))
|
||||
(dashboard-setup-startup-hook)
|
||||
;; Open Dashboard function
|
||||
(defun open-dashboard ()
|
||||
"Open the *dashboard* buffer and jump to the first widget."
|
||||
(interactive)
|
||||
(if (get-buffer dashboard-buffer-name)
|
||||
(kill-buffer dashboard-buffer-name))
|
||||
(kill-buffer dashboard-buffer-name))
|
||||
(dashboard-insert-startupify-lists)
|
||||
(switch-to-buffer dashboard-buffer-name)
|
||||
(goto-char (point-min))
|
||||
|
@ -79,8 +79,9 @@
|
||||
(add-hook 'python-mode-hook 'hs-minor-mode)
|
||||
|
||||
(use-package ein
|
||||
:init
|
||||
(setq ein:polymode t)
|
||||
:custom
|
||||
(ein:polymode t)
|
||||
(ein:use-auto-complete t)
|
||||
:commands (ein:notebooklist-open))
|
||||
|
||||
;; LSPPythonPac
|
||||
|
Loading…
Reference in New Issue
Block a user