https://github.com/abougouffa/nerd-icons-archive
Nerd Icons integration for archive-mode and tar-mode
https://github.com/abougouffa/nerd-icons-archive
Last synced: 6 months ago
JSON representation
Nerd Icons integration for archive-mode and tar-mode
- Host: GitHub
- URL: https://github.com/abougouffa/nerd-icons-archive
- Owner: abougouffa
- License: gpl-3.0
- Created: 2024-07-04T23:48:14.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-08T08:48:27.000Z (almost 2 years ago)
- Last Synced: 2024-07-08T10:58:57.015Z (almost 2 years ago)
- Language: Emacs Lisp
- Size: 204 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.org
- License: LICENSE
Awesome Lists containing this project
README
#+title: nerd-icons-arhive - Use nerd-icons for archive-mode and tar-mode
#+author: Abdelhak Bougouffa
#+language: en
* Usage
Add ~nerd-icons-archive~ to the ~load-path~
#+begin_src emacs-lisp
(add-to-list 'load-path "path/to/nerd-icons-archive")
(require 'nerd-icons-archive)
(nerd-icons-archive-mode 1)
#+end_src
Or using ~use-package~ and ~straight~:
#+begin_src emacs-lisp
(use-package nerd-icons-archive
:straight (:host github :repo "abougouffa/nerd-icons-archive")
:init
(nerd-icons-archive-mode 1))
#+end_src
Or, the recommended way, by deferring the activation of ~nerd-icons-archive-mode~ until necessary:
#+begin_src emacs-lisp
(use-package nerd-icons-archive
:straight (:host github :repo "abougouffa/nerd-icons-archive")
;; Should be after `tar-mode' or `arc-mode', but `arc-mode' is enough since it is required by the other
:after arc-mode
:init
(nerd-icons-archive-mode 1))
#+end_src
* Screenshot
[[file:screenshot.png]]