mirror of
http://github.com/JaeUs3792/dotfiles
synced 2025-12-13 23:51:34 +09:00
Compare commits
4 Commits
d478a6ea76
...
7788907562
| Author | SHA1 | Date | |
|---|---|---|---|
| 7788907562 | |||
| 11402c7859 | |||
| 4e2d4f2b52 | |||
| 38627c7b08 |
@ -55,18 +55,7 @@
|
||||
("c" hs-cycle "cycle block")
|
||||
("s" hs-show-block "show block")
|
||||
("h" hs-hide-block "hide block")
|
||||
("l" hs-hide-level "hide level"))
|
||||
"Move"
|
||||
(("C-a" mwim-beginning-of-code-or-line "⭰")
|
||||
("C-e" mwim-end-of-code-or-line "⭲")
|
||||
("C-b" backward-char "←")
|
||||
("C-n" next-line "↓")
|
||||
("C-p" previous-line "↑")
|
||||
("C-f" forward-char "→")
|
||||
("C-v" pager-page-down "↘")
|
||||
("M-v" pager-page-up "↖")
|
||||
("M-<" beginning-of-buffer "⭶")
|
||||
("M->" end-of-buffer "⭸"))))
|
||||
("l" hs-hide-level "hide level"))))
|
||||
:bind ("C-~" . hideshow-hydra/body)
|
||||
:hook (prog-mode . hs-minor-mode)
|
||||
:config
|
||||
|
||||
@ -11,6 +11,8 @@
|
||||
(global-set-key (kbd "C-=") 'text-scale-increase)
|
||||
(global-set-key (kbd "C--") 'text-scale-decrease)
|
||||
|
||||
(global-set-key (kbd "C-<tab>") 'hs-toggle-hiding)
|
||||
|
||||
;; When you begin a keybind, whichkey will show you all keybinds you can follow the first one with in order to form a full keywords.
|
||||
(use-package which-key
|
||||
:defer t
|
||||
@ -60,16 +62,23 @@
|
||||
;; Counsel
|
||||
"f" '(:ignore t :which-key "file op.")
|
||||
"f r" '(consult-recent-file :which-key "Recent files")
|
||||
"f i" '((lambda () (interactive) (find-file "~/.config/emacs/init.el")) :which-key "open emacs init file")
|
||||
"f l" '((lambda () (interactive) (find-file "~/.config/emacs/lisp")) :which-key "open emacs lisp dir")
|
||||
;; Magit
|
||||
"g" '(:ignore t :which-key "magit")
|
||||
"g g" '(magit :which-key "magit")
|
||||
;; Hydra
|
||||
"h" '(:ignore t :which-key "hydra")
|
||||
"h t" '(hydra-text-scale/body :which-key "scale text")
|
||||
"h w" '(hydra-writeroom-scale/body :which-key "scale whiteroom")
|
||||
"h a" '(hydra-modify-alpha/body :which-key "modify alpha background")
|
||||
"h j" '(dumb-jump-hydra/body :which-key "dumb jump hydra")
|
||||
"h o" '(org-hydra/body :which-key "org hydra")
|
||||
"h" '(:ignore t :which-key "hydra / hideshow")
|
||||
"h h" '(:ignore t :which-key "hydra")
|
||||
"h t" '(hs-toggle-hiding :which-key "hideshow toggle hiding")
|
||||
"h a" '(hs-hide-all :which-key "hideshow hide all")
|
||||
"h s" '(hs-show-all :which-key "hideshow show all")
|
||||
;; "h t" '(hydra-text-scale/body :which-key "scale text")
|
||||
;; "h w" '(hydra-writeroom-scale/body :which-key "scale whiteroom")
|
||||
;; "h a" '(hydra-modify-alpha/body :which-key "modify alpha background")
|
||||
"h h j" '(dumb-jump-hydra/body :which-key "dumb jump hydra")
|
||||
"h h o" '(org-hydra/body :which-key "org hydra")
|
||||
"h h h" '(hideshow-hydra/body :which-key "hideshow hydra")
|
||||
;; Insert something
|
||||
"i" '(:ignore t :which-key "insert something.")
|
||||
"i s" '(yas-insert-snippet :which-key "snippet")
|
||||
|
||||
@ -160,29 +160,14 @@ prepended to the element after the #+HEADER: tag."
|
||||
|
||||
(use-package org-modern
|
||||
:hook ((org-mode . org-modern-mode)
|
||||
(org-agenda-finalize . org-modern-agenda))
|
||||
(org-modern-mode . (lambda ()
|
||||
"Adapt `org-modern-mode'."
|
||||
;; Disable Prettify Symbols mode
|
||||
(setq prettify-symbols-alist nil)
|
||||
(prettify-symbols-mode -1))))
|
||||
(use-package org-superstar
|
||||
:if (and (display-graphic-p) (char-displayable-p ?◉))
|
||||
:hook (org-mode . org-superstar-mode)
|
||||
:init
|
||||
(setq org-superstar-headline-bullets-list '("◉""○""◈""◇""⁕")
|
||||
org-superstar-item-bullet-alist ;; dont work with org-modern
|
||||
'((?+ . ?➢)
|
||||
(?* . ?✰)
|
||||
(?- . ?➸))))
|
||||
(org-agenda-finalize . org-modern-agenda))
|
||||
:config
|
||||
(setq org-modern-table nil))
|
||||
|
||||
(use-package org-fancy-priorities
|
||||
:diminish
|
||||
:hook (org-mode . org-fancy-priorities-mode)
|
||||
:init (setq org-fancy-priorities-list
|
||||
(if (and (display-graphic-p) (char-displayable-p ?🅐))
|
||||
'("🅐" "🅑" "🅒" "🅓")
|
||||
'("HIGH" "MEDIUM" "LOW" "OPTIONAL"))))
|
||||
(use-package valign
|
||||
:hook (org-mode . valign-mode)
|
||||
:custom
|
||||
(valign-fancy-bar t))
|
||||
|
||||
(setq org-confirm-babel-evaluate nil
|
||||
org-src-fontify-natively t
|
||||
|
||||
Reference in New Issue
Block a user