Add Android/Termux support with `*is-android*` constant and conditional GUI/terminal initialization. Remove maximized frame defaults and custom.el. Replace corfu with corfu-terminal in TTY. Add god-mode to terminal config with line number sync. Update org agenda to use org-ql blocks with super-agenda grouping. Switch solarized-theme to fork. Clean up redundant functions and unify keyboard bindings across environments.
50 lines
904 B
EmacsLisp
50 lines
904 B
EmacsLisp
;;; init.el --- init.el -*- lexical-binding: t -*-
|
|
|
|
;;; Commentary:
|
|
|
|
;;; Code:
|
|
|
|
;; hs-minor-mode
|
|
(add-hook 'prog-mode-hook 'hs-minor-mode)
|
|
|
|
;; flycheck
|
|
(use-package flycheck)
|
|
|
|
(use-package flycheck-guile
|
|
:hook
|
|
(scheme-mode . (lambda ()
|
|
(require 'flycheck-guile))))
|
|
|
|
;; consult-flycheck
|
|
(use-package consult-flycheck)
|
|
|
|
;; tree-sitter
|
|
(use-package treesit-auto
|
|
:config
|
|
(setq treesit-auto-install 'prompt)
|
|
(global-treesit-auto-mode)
|
|
(setq treesit-font-lock-level 4))
|
|
|
|
;; scheme
|
|
(use-package geiser
|
|
:config
|
|
(with-eval-after-load 'geiser
|
|
(setq geiser-default-implementation 'guile)))
|
|
|
|
(use-package geiser-guile)
|
|
|
|
;; markdown
|
|
(use-package markdown-mode
|
|
:mode
|
|
("README\\.md\\'" . gfm-mode)
|
|
:init
|
|
(setq markdown-command "multimarkdown")
|
|
:bind
|
|
(:map markdown-mode-map
|
|
("C-c C-e" . markdown-do)))
|
|
|
|
|
|
(provide 'init-prog)
|
|
|
|
;;; init-prog.el ends here
|