Rosenthal/modules/rosenthal/examples/emacs/init-miscellaneous.el
2026-02-06 14:38:59 +08:00

44 lines
952 B
EmacsLisp

;;; -*- lexical-binding: t -*-
;;; SPDX-FileCopyrightText: 2025 Hilton Chain <hako@ultrarare.space>
;;;
;;; SPDX-License-Identifier: GPL-3.0-or-later
;;guix:emacs-daemons
(use-package daemons
:custom
(daemons-list-fill-frame t))
(use-package dired
:custom
(dired-listing-switches
"-lv --all --group-directories-first --human-readable")
:bind
([remap list-directory] . dired))
(use-package dired-aux
:custom
(dired-create-destination-dirs 'ask)
(dired-create-destination-dirs-on-trailing-dirsep t)
(dired-vc-rename-file t))
;;guix:emacs-envrc
(use-package envrc
:hook
(after-init . envrc-global-mode))
;;guix:emacs-magit
(use-package magit
:custom
(git-commit-cd-to-toplevel t))
(use-package project
:config
(add-to-list 'project-switch-commands '(magit-project-status "Magit") t)
:bind
(:map project-prefix-map
("m" . magit-project-status)))
;;guix:emacs-forge
(use-package forge
:after (magit))