vdayanand / yay-evil-emacs

😈 A lightweight literate Emacs config with even better "better defaults". Shipped with a custom theme!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

😈 Ian's Yay-Evil Emacs: An even better 'better defaults' 😈


Maintenance GPL License Version Awesome

Welcome! πŸ‘‹

This Emacs "distro" is based on my personal Emacs configuration. It's unopinionated and was created for general use in mind. The package settings are grouped in a logical manner, and I've documented as detailed as possible what each code snippet does in my config.org file.

You can find my opinionated personal configuration here (for macOS) and here (for Arch and Ubuntu on WSL2).

This Emacs config starts up super fast with an average init time of 0.7 second.

alt text

Installation πŸ€

Back up your ~/.emacs.d/ first (if you have one):

mv ~/.emacs.d/ ~/.emacs.d.bak/

Git clone my configuration to your new ~/.emacs.d/ :

# For Emacs 26 and below
git clone https://github.com/ianpan870102/yay-evil-emacs.git ~/.emacs.d

# For Emacs 27
git clone https://github.com/ianpan870102/yay-evil-emacs.git ~/.config/emacs/

"Rolling" Release πŸ™ƒ

I will constantly push new commits as soon as I discover new things suitable for this "distro".

How the config structure works 🧐

The init.el requires config.el, which is produced by org-babel and config.org. This allows me to put most of my configuration in an Org file with literate programming style (good for documenting code usage!).

Packages that I use:

Better package managing syntax and performance

  • use-package

Vim editing habits (optional depending on your preferences)

  • evil
  • evil-collection
  • evil-commentary

Git integration

  • magit

Better Emacs defaults

  • company (auto-completion)
  • ido-vertical-mode
  • ido-completing-read+ (ido-ubiquitous)
  • dashboard (welcome screen)

Org mode

  • org-bullets

Friendly warnings

  • flycheck

Lightweight syntax highlight improvement for all languages

  • highlight-numbers
  • highlight-escape-sequences

Appendix I: Themes I adore

  • Gruvbox Dark
  • Dracula
  • Nord

If you prefer a theme pack with some of the most popular themes, I recommend the emacs-doom-themes package:

Wilmersdorf Theme

The default installation of my Emacs configuration ships with the Wilmersdorf theme I made myself. It is inspired by Monochrome, Spacemacs Dark, Ariake Dark, and Raiju. You can find more information on my theme here.

Appendix II: Fonts I adore

  • Menlo / DejaVu / Hack family (classic, default on lots of systems)
  • Source Code Pro (playful and modern-looking, easy on the eyes)
  • Consolas (beautifully modern)

FAQ: ❓

1. But I'm not an Evil user

Sure! Simply delete (or comment) the sections regarding Vi bindings in config.org.

2. How can I install extra packages that I want?

You should be able to install packages the normal way (M-x list-packages RET and i x on the desired package row). If you plan to sync your config files across machines, add the configuration in config.org with your preferred syntax (use-package is recommended). Yay-Evil sets all the packages :ensure to true by default, so you don't need to add :ensure t.

3. How can I remove packages that I don't need?

For this you need two steps:

  • First, in the config.org file, remove (or comment out) the relevant configuration code.
  • Next, type M-x list-packages RET and delete the unwanted package by placing your cursor on the target row and press d followed by an x.

About

😈 A lightweight literate Emacs config with even better "better defaults". Shipped with a custom theme!

License:GNU General Public License v3.0


Languages

Language:Emacs Lisp 100.0%