https://github.com/dheerajshenoy/mnml
A very MNML custom Emacs Mode Line written in Elisp
https://github.com/dheerajshenoy/mnml
Last synced: 8 months ago
JSON representation
A very MNML custom Emacs Mode Line written in Elisp
- Host: GitHub
- URL: https://github.com/dheerajshenoy/mnml
- Owner: dheerajshenoy
- Created: 2024-02-12T15:09:57.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-08T04:24:03.000Z (about 1 year ago)
- Last Synced: 2024-11-08T04:28:18.736Z (about 1 year ago)
- Language: Emacs Lisp
- Size: 229 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MNML
A very minimal custom emacs modeline written in Elisp for Emacs.
# Modules
* EVIL Vim State
* File Name
* Line Position
* Version Control Branch
# Why ?
Wanted to learn elisp and also wanted to make my modeline MNML `:)`
# Installation
Clone this repository to some folder and then add the following line of code in your emacs configuration file:
```elisp
(use-package mnml
:load-path ;; MNML-directory is the path to the cloned directory
:ensure nil
:custom
(mnml-evil-state-minimal t))
```
# Screenshot

MNML colors depend on the theme that is currently in use. The images above were taken with the `ef-day` theme from the [ef-themes](https://github.com/protesilaos/ef-themes) package
# TODO
* [x] Add proper padding settings to the modeline
* [x] Add right aligned items
* [x] Spaceous padding also, maybe ?
* [ ] Extra Modules
* [ ] Hover events
# References
* [Basic modeline beautification](https://www.gonsie.com/blorg/modeline.html)
* [Protesilaous Custom Modeline Tutorial](https://www.youtube.com/watch?v=Qf_DLPIA9Cs)