Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rougier/nano-modeline
GNU Emacs / N Λ N O Modeline
https://github.com/rougier/nano-modeline
emacs lisp modeline nano theme
Last synced: about 1 month ago
JSON representation
GNU Emacs / N Λ N O Modeline
- Host: GitHub
- URL: https://github.com/rougier/nano-modeline
- Owner: rougier
- License: gpl-3.0
- Created: 2021-06-05T13:35:04.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-04-29T10:25:48.000Z (8 months ago)
- Last Synced: 2024-05-02T01:12:43.723Z (8 months ago)
- Topics: emacs, lisp, modeline, nano, theme
- Language: Emacs Lisp
- Homepage:
- Size: 1.29 MB
- Stars: 166
- Watchers: 6
- Forks: 29
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
## N Λ N O Modeline
Nano modeline is a an alterntive to the GNU/Emacs modeline. It can be
displayed at the bottom (mode-line) or at the top (header-line). It is
roughly organized as:`[ status | name (primary) secondary ]`
There are several modelines that can be installed on a per-mode basis
or be made the default one. Currently, only the prog and text mode are
generic enough to be made the default. You can also design your own
modeline using the various elements composing a modeline. See sources
for several example.### Installation
Install with `M-: (package-install 'nano-modeline)`
### Usage example:
```emacs-lisp
(add-hook 'prog-mode-hook #'nano-modeline-prog-mode)
(add-hook 'text-mode-hook #'nano-modeline-text-mode)
(add-hook 'org-mode-hook #'nano-modeline-org-mode)
(add-hook 'pdf-view-mode-hook #'nano-modeline-pdf-mode)
(add-hook 'mu4e-headers-mode-hook #'nano-modeline-mu4e-headers-mode)
(add-hook 'mu4e-view-mode-hook #'nano-modeline-mu4e-message-mode)
(add-hook 'elfeed-show-mode-hook #'nano-modeline-elfeed-entry-mode)
(add-hook 'elfeed-search-mode-hook #'nano-modeline-elfeed-search-mode)
(add-hook 'term-mode-hook #'nano-modeline-term-mode)
(add-hook 'xwidget-webkit-mode-hook #'nano-modeline-xwidget-mode)
(add-hook 'messages-buffer-mode-hook #'nano-modeline-message-mode)
(add-hook 'org-capture-mode-hook #'nano-modeline-org-capture-mode)
(add-hook 'org-agenda-mode-hook #'nano-modeline-org-agenda-mode)
```To make a specific mode the default one, you can type:
```emacs-lisp
(nano-modeline-text-mode t)
```Currently, only the prog and text mode are generic enough to be made the
default.### Screenshots (using [N Λ N O theme](https://github.com/rougier/nano-theme)):
![](images/nano-modeline.png)