added which-key
This commit is contained in:
parent
8c72a2040f
commit
419ac7f46c
38
init.el
38
init.el
@ -1,18 +1,16 @@
|
|||||||
(tool-bar-mode -1)
|
(tool-bar-mode -1)
|
||||||
(scroll-bar-mode -1)
|
(scroll-bar-mode -1)
|
||||||
(menu-bar-mode -1)
|
(menu-bar-mode -1)
|
||||||
(set-frame-parameter nil 'alpha-background 100)
|
(set-fringe-mode 0)
|
||||||
(setq ring-bell-function 'ignore)
|
(setq ring-bell-function 'ignore)
|
||||||
|
|
||||||
(set-face-attribute 'default nil :font "GoMono Nerd Font Mono-10")
|
(set-face-attribute 'default nil :font "GoMono Nerd Font Mono-11")
|
||||||
|
|
||||||
|
|
||||||
(require 'package)
|
(require 'package)
|
||||||
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t)
|
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t)
|
||||||
(package-initialize)
|
(package-initialize)
|
||||||
(require 'use-package)
|
(require 'use-package)
|
||||||
|
|
||||||
|
|
||||||
(use-package magit :ensure t)
|
(use-package magit :ensure t)
|
||||||
(use-package direnv :ensure t)
|
(use-package direnv :ensure t)
|
||||||
(use-package docker :ensure t)
|
(use-package docker :ensure t)
|
||||||
@ -24,19 +22,27 @@
|
|||||||
(use-package latex-preview-pane :ensure t)
|
(use-package latex-preview-pane :ensure t)
|
||||||
|
|
||||||
(use-package eglot)
|
(use-package eglot)
|
||||||
|
|
||||||
|
(use-package which-key
|
||||||
|
:ensure t
|
||||||
|
:config
|
||||||
|
(which-key-mode))
|
||||||
|
|
||||||
(use-package emojify
|
(use-package emojify
|
||||||
:ensure t
|
:ensure t
|
||||||
:hook (after-init . global-emojify-mode))
|
:hook (after-init . global-emojify-mode))
|
||||||
|
|
||||||
(use-package dashboard
|
(use-package dashboard
|
||||||
:ensure t
|
:ensure t)
|
||||||
)
|
|
||||||
|
|
||||||
(use-package acme-theme
|
(use-package org-roam
|
||||||
:ensure t
|
:ensure t
|
||||||
|
:custom
|
||||||
|
(org-roam-directory (file-truename "~/Notes"))
|
||||||
:config
|
:config
|
||||||
(load-theme 'acme t))
|
(org-roam-db-autosync-mode))
|
||||||
|
|
||||||
|
|
||||||
|
(global-activity-watch-mode)
|
||||||
|
|
||||||
(setq dashboard-display-icons-p t) ; display icons on both GUI and terminal
|
(setq dashboard-display-icons-p t) ; display icons on both GUI and terminal
|
||||||
(setq dashboard-icon-type 'nerd-icons) ; use `nerd-icons' package
|
(setq dashboard-icon-type 'nerd-icons) ; use `nerd-icons' package
|
||||||
@ -100,17 +106,3 @@
|
|||||||
:background (face-background 'default))
|
:background (face-background 'default))
|
||||||
|
|
||||||
(dashboard-setup-startup-hook)
|
(dashboard-setup-startup-hook)
|
||||||
|
|
||||||
(custom-set-variables
|
|
||||||
;; custom-set-variables was added by Custom.
|
|
||||||
;; If you edit it by hand, you could mess it up, so be careful.
|
|
||||||
;; Your init file should contain only one such instance.
|
|
||||||
;; If there is more than one, they won't work right.
|
|
||||||
'(package-selected-packages
|
|
||||||
'(acme-theme dashboard emojify latex-preview-pane system-packages gemini-mode nerd-icons rust-mode elpher docker direnv magit)))
|
|
||||||
(custom-set-faces
|
|
||||||
;; custom-set-faces was added by Custom.
|
|
||||||
;; If you edit it by hand, you could mess it up, so be careful.
|
|
||||||
;; Your init file should contain only one such instance.
|
|
||||||
;; If there is more than one, they won't work right.
|
|
||||||
)
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user