feat(emacs): added some more plugins.

This commit is contained in:
CronyAkatsuki 2025-10-19 12:56:30 +02:00
parent 7463c6a0c6
commit 164549b66c
2 changed files with 103 additions and 27 deletions

54
flake.lock generated
View file

@ -30,11 +30,11 @@
"systems": "systems" "systems": "systems"
}, },
"locked": { "locked": {
"lastModified": 1754433428, "lastModified": 1760836749,
"narHash": "sha256-NA/FT2hVhKDftbHSwVnoRTFhes62+7dxZbxj5Gxvghs=", "narHash": "sha256-wyT7Pl6tMFbFrs8Lk/TlEs81N6L+VSybPfiIgzU8lbQ=",
"owner": "ryantm", "owner": "ryantm",
"repo": "agenix", "repo": "agenix",
"rev": "9edb1787864c4f59ae5074ad498b6272b3ec308d", "rev": "2f0f812f69f3eb4140157fe15e12739adf82e32a",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -253,11 +253,11 @@
"nixpkgs-stable": "nixpkgs-stable" "nixpkgs-stable": "nixpkgs-stable"
}, },
"locked": { "locked": {
"lastModified": 1760808266, "lastModified": 1760865834,
"narHash": "sha256-Xa8sYbZmHFmM+pJUxMyJJIWYELkN3BJma5hqlNjWpvU=", "narHash": "sha256-s2Wg7YjuqRY7YMYlqd6hFCi6xsdtQovQT/Wof+5Jvek=",
"owner": "nix-community", "owner": "nix-community",
"repo": "emacs-overlay", "repo": "emacs-overlay",
"rev": "fc9f5fc2de590ab90d9c89d2f66ad443efd3da4c", "rev": "0e3c4a7d197b9e1f6145a914138225125c415887",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -434,11 +434,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1759362264, "lastModified": 1760813311,
"narHash": "sha256-wfG0S7pltlYyZTM+qqlhJ7GMw2fTF4mLKCIVhLii/4M=", "narHash": "sha256-lbHQ7FXGzt6/IygWvJ1lCq+Txcut3xYYd6VIpF1ojkg=",
"owner": "hercules-ci", "owner": "hercules-ci",
"repo": "flake-parts", "repo": "flake-parts",
"rev": "758cf7296bee11f1706a574c77d072b8a7baa881", "rev": "4e627ac2e1b8f1de7f5090064242de9a259dbbc8",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1038,11 +1038,11 @@
"xdph": "xdph" "xdph": "xdph"
}, },
"locked": { "locked": {
"lastModified": 1760813095, "lastModified": 1760835415,
"narHash": "sha256-D0AU+KKB9aGqiwDaS7er2pITjn9AS+XStzigPSoLeOQ=", "narHash": "sha256-nz9qPsfNTyn1XlpVWffq3zFW471J1b0kkK7uttW/8GI=",
"owner": "hyprwm", "owner": "hyprwm",
"repo": "Hyprland", "repo": "Hyprland",
"rev": "39d62e1487052da2751ec1e36d243e3e92e24f6a", "rev": "ba077d8ff09e38a5b20c5d06d71daab52bbcc36d",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1415,11 +1415,11 @@
"treefmt-nix": "treefmt-nix" "treefmt-nix": "treefmt-nix"
}, },
"locked": { "locked": {
"lastModified": 1760745913, "lastModified": 1760832323,
"narHash": "sha256-r7Xd0zoNs+SjZtDLzFFAMkDnu6j05F4I5a+HWJG0eVE=", "narHash": "sha256-THAk4qzBOsp03bDBYK9Ek3mQEvl2g8Fea0QhpCoEzfs=",
"owner": "nix-community", "owner": "nix-community",
"repo": "neovim-nightly-overlay", "repo": "neovim-nightly-overlay",
"rev": "368a73654ebe1fe3620d6235ddf5add1ab93d9cb", "rev": "3c9432813e5528a13075f5493da6ff9ef249ad1d",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1431,11 +1431,11 @@
"neovim-src": { "neovim-src": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1760680927, "lastModified": 1760810839,
"narHash": "sha256-Odf4k6/tFYkPtS0mBH1uaeMmMuKLjfpNsvjRvNXc4Xw=", "narHash": "sha256-VYkZdjjMOYsugoSydDDWE/1l79swm4zc4NJl1Z0brjA=",
"owner": "neovim", "owner": "neovim",
"repo": "neovim", "repo": "neovim",
"rev": "a04c73ca071fdc2461365a8a10a314bd0d1d806d", "rev": "be73c35943f85e7835c3a0fc89bddaeba944db29",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1513,11 +1513,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1760241904, "lastModified": 1760846226,
"narHash": "sha256-OD7QnaGEVNdukYEbJbUNWPsvnDrpbZOZxVIk6Pt9Jhw=", "narHash": "sha256-xmU8kAsRprJiTGBTaGrwmjBP3AMA9ltlrxHKFuy5JWc=",
"owner": "nix-community", "owner": "nix-community",
"repo": "nix-index-database", "repo": "nix-index-database",
"rev": "c9f5ea45f25652ec2f771f9426ccacb21cbbaeaa", "rev": "5024e1901239a76b7bf94a4cd27f3507e639d49e",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -2461,11 +2461,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1760120816, "lastModified": 1760802554,
"narHash": "sha256-gq9rdocpmRZCwLS5vsHozwB6b5nrOBDNc2kkEaTXHfg=", "narHash": "sha256-5YkOYOCF8/XNw89/ABKFB0c/P78U2EVuKRDGTql6+kA=",
"owner": "numtide", "owner": "numtide",
"repo": "treefmt-nix", "repo": "treefmt-nix",
"rev": "761ae7aff00907b607125b2f57338b74177697ed", "rev": "296ebf0c3668ebceb3b0bfee55298f112b4b5754",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -2580,11 +2580,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1760768820, "lastModified": 1760843785,
"narHash": "sha256-rg4fJ8ocx3rCz//eajnxBmKZV4qulLtEPtBc+mtgrt4=", "narHash": "sha256-lp6xctqGBNKZ3pmRlALX1puVG7EKQa4xAq+2leThDKw=",
"owner": "0xc000022070", "owner": "0xc000022070",
"repo": "zen-browser-flake", "repo": "zen-browser-flake",
"rev": "fd874a0b5f281bc4e173d81b03726d7fc7983cfd", "rev": "a36f9da8a234b59dd5fc4484e37dadae2aa75b80",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -1,3 +1,6 @@
#+Title: Crony's Emacs Config #+Title: Crony's Emacs Config
#+AUTHOR: Crony Akatsuki #+AUTHOR: Crony Akatsuki
#+DESCRIPTION: Crony's personal emacs config #+DESCRIPTION: Crony's personal emacs config
@ -462,3 +465,76 @@ extending corpu
(evil-define-key 'normal peep-dired-mode-map (kbd "k") 'peep-dired-prev-file) (evil-define-key 'normal peep-dired-mode-map (kbd "k") 'peep-dired-prev-file)
) )
#+end_src #+end_src
* ALL THE ICONS
#+begin_src emacs-lisp
(use-package all-the-icons
:ensure t
:if (display-graphic-p))
;; dired icons
(use-package all-the-icons-dired
:after all-the-icons
:hook (dired-mode . (lambda () (all-the-icons-dired-mode t))))
;; completion with marginalia
(use-package all-the-icons-completion
:after (marginalia all-the-icons)
:hook (marginalia-mode . all-the-icons-completion-marginalia-setup)
:init
(all-the-icons-completion-mode))
#+end_src
* GIT
** TIME MACHINE
#+begin_src emacs-lisp
(use-package git-timemachine
:after git-timemachine
:hook (evil-normalize-keymaps . git-timemachine-hook)
:config
(evil-define-key 'normal git-timemachine-mode-map (kbd "C-j") 'git-timemachine-show-previous-revision)
(evil-define-key 'normal git-timemachine-mode-map (kbd "C-k") 'git-timemachine-show-next-revision)
)
#+end_src
** DIFF HIGHLIGHT
#+begin_src emacs-lisp
(use-package diff-hl
:config
(global-diff-hl-mode t))
#+end_src
** MAGIT
#+begin_src emacs-lisp
(use-package magit)
#+end_src
* HIGHLIGHT TODO
#+begin_src emacs-lisp
(use-package hl-todo
:hook ((prog-mode . hl-todo-mode))
:config
(setq hl-todo-highlight-punctuation ":"
hl-todo-keyword-faces
`(("TODO" warning bold)
("FIXME" error bold)
("HACK" font-lock-constant-face bold)
("REVIEW" font-lock-keyword-face bold)
("NOTE" success bold)
("DEPRECATED" font-lock-doc-face bold))))
#+end_src
* PROJECTS LIST
#+begin_src emacs-lisp
(use-package projectile
:diminish
:config
(projectile-mode 1))
#+end_src