module(doom): Add treemacs and telega packages

This commit is contained in:
ulic-youthlic 2025-07-13 06:04:55 +08:00
parent 76f5354dca
commit 0c9540a4a7
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721
4 changed files with 13 additions and 28 deletions

View file

@ -27,3 +27,13 @@
(setq doom-theme 'doom-gruvbox)
;;; Fix failure to loacate 'Symbols Nerd Font Mono' font
(setq nerd-icons-font-family "Maple Mono NF CN")
(map! :map global-map
"C-c t"
telega-prefix-map)
(setq display-line-numbers-type
'relative)
(add-hook 'telega-load-hook
'telega-notifications-mode)

View file

@ -45,7 +45,7 @@
(popup +defaults) ; tame sudden yet inevitable temporary windows
smooth-scroll ; So smooth you won't believe it's not butter
tabs ; a tab bar for Emacs
;;treemacs ; a project drawer, like neotree but cooler
treemacs ; a project drawer, like neotree but cooler
unicode ; extended unicode support for various languages
(vc-gutter +pretty) ; vcs diff in the fringe
vi-tilde-fringe ; fringe tildes to mark beyond EOB
@ -60,7 +60,7 @@
(format +onsave) ; automated prettiness
;;god ; run Emacs commands without modifier keys
;;lispy ; vim for lisp, for people who don't like vim
;;multiple-cursors ; editing in many places at once
multiple-cursors ; editing in many places at once
;;objed ; text object editing for the innocent
;;parinfer ; turn lisp into python, sort of
;;rotate-text ; cycle region at point between text candidates

View file

@ -1,26 +0,0 @@
;;; packages.el --- Description -*- lexical-binding: t; -*-
;;
;; Copyright (C) 2025 david
;;
;; Author: david <david@Tytonidae>
;; Maintainer: david <david@Tytonidae>
;; Created: 八月 15, 2025
;; Modified: 八月 15, 2025
;; Version: 0.0.1
;; Keywords: abbrev bib c calendar comm convenience data docs emulations extensions faces files frames games hardware help hypermedia i18n internal languages lisp local maint mail matching mouse multimedia news outlines processes terminals tex text tools unix vc wp
;; Homepage: https://github.com/david/packages
;; Package-Requires: ((emacs "24.3"))
;;
;; This file is not part of GNU Emacs.
;;
;;; Commentary:
;;
;; Description
;;
;;; Code:
(provide 'packages)
;;; packages.el ends here
(package! telega)

View file

@ -18,6 +18,7 @@ in {
emacs = pkgs.emacs-pgtk;
extraPackages = emacsPackages:
with emacsPackages; [
melpaPackages.telega
];
extraBinPackages = with pkgs; [
editor-runtime