33

GitHub - rougier/nano-emacs: GNU Emacs / N Λ N O - Emacs made simple

 3 years ago
source link: https://github.com/rougier/nano-emacs
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

README.md

GNU Emacs / N Λ N O

GNU Emacs / N Λ N O is a set of configuration files for GNU Emacs such as to provide a nice and consistent look and feel as shown below. It is based on design principles I described in the article "On the design of text Editors" that is available on arXiv. The light theme is based on Material colors and the dark theme is based on Nord colors.

The philosophy of nano emacs is to stick as much as possible to vanilla emacs without introducing too much dependencies (or none if possible) and to keep it modular enough. The idea is for users to copy the part they are interested in such as to include them in their own configuration.

nano-emacs-light.png nano-emacs-dark.png

Requirements

You need a recent version of GNU Emacs and to have the Roboto Mono and Fira Code fonts installed on your system. There are no other dependencies.

Quick test

The easiest way to test nano emacs is to clone the directory on your desktop and to type (from inside the cloned repository):

$ emacs -q -l nano.el

Installation

If you like the result, you can merge the content of nano.el into your emacs configuration file. To do so, you'll need to modify the load-path to include the nano emacs repository and then call for the different modules. The only mandatory module is the theme that defines 6 faces that are used in other modules.

Modules

mandatory

  • nano-theme-light.el or nano-theme-dark.el Theses modules define a light and dark themes respectively through the defnition of the different faces that will be used by other modules. It is thus mandatory (one of dark or light version).

optional

  • nano.el This module is only used to test nano emacs locally. Its content is supposed to be merged into an existing emacs configuration.

optional

  • nano-help.el This module provides a function to display a small message in the echo area.

optional

  • nano-modeline.el This module define a header line that is mode dependent and take care of hiding the modeline when necessary.

optional

  • nano-layout.el This module define the overall layout of an emacs frame, defining default font, fringes, margins, etc.

optional

  • nano-splash.el This module provides a splash screen when emacs is started.

optional

  • nano-colors.el This module provides a collection of colors palettes with function for easily accessing them.

Recommend

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK