[emacs] Modification for emacs.

This commit is contained in:
Mikaël Capelle 2020-01-10 14:03:38 +01:00
parent 8e88392d44
commit b103ec8cb7
7 changed files with 11 additions and 4 deletions

View File

@ -44,11 +44,11 @@
:bind ("C-z d" . open-dashboard) :bind ("C-z d" . open-dashboard)
:custom :custom
(dashboard-banner-logo-title "Close the world. Open the nExt.") (dashboard-banner-logo-title "Close the world. Open the nExt.")
(dashboard-startup-banner (expand-file-name "images/KEC_Dark_BK_Small.png" user-emacs-directory)) (dashboard-startup-banner
(expand-file-name "images/KEC_Dark_BK_Small.png" user-emacs-directory))
(dashboard-items '((recents . 7) (dashboard-items '((recents . 7)
(bookmarks . 7) (bookmarks . 7)
(agenda . 5))) (agenda . 5)))
(initial-buffer-choice (lambda () (get-buffer dashboard-buffer-name)))
(dashboard-set-heading-icons t) (dashboard-set-heading-icons t)
(dashboard-set-navigator t) (dashboard-set-navigator t)
(dashboard-navigator-buttons (dashboard-navigator-buttons
@ -64,6 +64,8 @@
:custom-face :custom-face
(dashboard-banner-logo-title ((t (:family "Love LetterTW" :height 123)))) (dashboard-banner-logo-title ((t (:family "Love LetterTW" :height 123))))
:config :config
(if (< (length command-line-args) 2)
(initial-buffer-choice (lambda () (get-buffer dashboard-buffer-name))))
(dashboard-modify-heading-icons '((recents . "file-text") (dashboard-modify-heading-icons '((recents . "file-text")
(bookmarks . "book"))) (bookmarks . "book")))
(dashboard-setup-startup-hook) (dashboard-setup-startup-hook)

View File

@ -6,7 +6,7 @@
;; Copyright (C) 2019 Mingde (Matthew) Zeng ;; Copyright (C) 2019 Mingde (Matthew) Zeng
;; Created: Mon Jun 10 18:58:02 2019 (-0400) ;; Created: Mon Jun 10 18:58:02 2019 (-0400)
;; Version: 2.0.0 ;; Version: 2.0.0
;; Last-Updated: Sun Dec 29 20:39:58 2019 (+0100) ;; Last-Updated: Wed Jan 8 15:41:56 2020 (+0100)
;; By: Mikaël Capelle ;; By: Mikaël Capelle
;; URL: https://github.com/MatthewZMD/.emacs.d ;; URL: https://github.com/MatthewZMD/.emacs.d
;; Keywords: lsp-python-ms ;; Keywords: lsp-python-ms
@ -78,6 +78,11 @@
(elpy-enable)) (elpy-enable))
(add-hook 'python-mode-hook 'hs-minor-mode) (add-hook 'python-mode-hook 'hs-minor-mode)
(use-package ein
:init
(setq ein:polymode t)
:commands (ein:notebooklist-open))
;; LSPPythonPac ;; LSPPythonPac
;; (use-package lsp-python-ms ;; (use-package lsp-python-ms
;; :after lsp-mode python ;; :after lsp-mode python

View File

@ -64,7 +64,7 @@
(ivy-height 10) (ivy-height 10)
(ivy-on-del-error-function nil) (ivy-on-del-error-function nil)
(ivy-magic-slash-non-match-action 'ivy-magic-slash-non-match-create) (ivy-magic-slash-non-match-action 'ivy-magic-slash-non-match-create)
(ivy-count-format "【%d/%d】") (ivy-count-format " [%d/%d] ")
(ivy-wrap t) (ivy-wrap t)
:config :config
(defun counsel-goto-local-home () (defun counsel-goto-local-home ()

Binary file not shown.

After

Width:  |  Height:  |  Size: 86 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 92 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 92 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 94 KiB