Compare commits
2 Commits
b0aed42312
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| 5045c5e5e9 | |||
| 8ccb91103a |
@@ -285,7 +285,10 @@ EMACS-ALTERNATIVE is the Emacs equivalent (e.g., 'C-s')."
|
||||
;;;; Jinx
|
||||
|
||||
(use-package jinx
|
||||
:ensure t
|
||||
:hook (emacs-startup . global-jinx-mode)
|
||||
:custom
|
||||
(jinx-modes '(text-mode))
|
||||
:bind ([remap transpose-chars] . jinx-correct))
|
||||
|
||||
;;; Completion
|
||||
@@ -366,10 +369,7 @@ EMACS-ALTERNATIVE is the Emacs equivalent (e.g., 'C-s')."
|
||||
consult-theme consult-xref consult-bookmark
|
||||
consult-ripgrep consult-git-grep consult-grep
|
||||
:preview-key '(:debounce 0.4 any)
|
||||
|
||||
consult-recent-file consult-buffer
|
||||
consult--source-bookmark consult--source-recent-file
|
||||
consult--source-project-recent-file
|
||||
:preview-key "C-."))
|
||||
|
||||
(use-package consult-dir
|
||||
@@ -765,10 +765,14 @@ EMACS-ALTERNATIVE is the Emacs equivalent (e.g., 'C-s')."
|
||||
(use-package org-bullets
|
||||
:ensure t
|
||||
:config
|
||||
(add-hook 'org-mode-hook (lambda () (org-bullets-mode 1)))
|
||||
;; Eagerly load org-mode
|
||||
(add-hook 'org-mode-hook (lambda () (org-bullets-mode 1))))
|
||||
|
||||
;; Preload org-mode (and warm up text-mode hooks like jinx) after
|
||||
;; packages are available on the load-path
|
||||
(add-hook 'emacs-startup-hook
|
||||
(lambda ()
|
||||
(with-temp-buffer
|
||||
(org-mode)))
|
||||
(org-mode))))
|
||||
|
||||
(defun my/org-clear-all ()
|
||||
(interactive)
|
||||
@@ -853,9 +857,9 @@ EMACS-ALTERNATIVE is the Emacs equivalent (e.g., 'C-s')."
|
||||
:ensure t
|
||||
:custom
|
||||
(treesit-auto-install 'prompt)
|
||||
:hook (prog-mode . treesit-auto-mode)
|
||||
:config
|
||||
(treesit-auto-add-to-auto-mode-alist 'all)
|
||||
(global-treesit-auto-mode))
|
||||
(treesit-auto-add-to-auto-mode-alist 'all))
|
||||
|
||||
;;;; Markdown
|
||||
(use-package markdown-mode
|
||||
@@ -960,18 +964,6 @@ EMACS-ALTERNATIVE is the Emacs equivalent (e.g., 'C-s')."
|
||||
:custom
|
||||
(lsp-ui-sideline-show-diagnostics nil))
|
||||
|
||||
;;;; Flycheck
|
||||
(use-package flycheck
|
||||
:ensure t
|
||||
:init
|
||||
(setq flycheck-keymap-prefix (kbd "C-c e"))
|
||||
(global-flycheck-mode)
|
||||
;; Elisp lint errors are annoying, so disable flycheck in elisp modes
|
||||
:hook (emacs-lisp-mode . (lambda () (flycheck-mode -1)))
|
||||
:bind (:repeat-map flycheck-repeat-map
|
||||
("n" . flycheck-next-error)
|
||||
("p" . flycheck-previous-error)))
|
||||
|
||||
;;;; Nix
|
||||
(use-package nix-mode
|
||||
:ensure t
|
||||
|
||||
Reference in New Issue
Block a user