MiniApollo/kickstart.emacs
حول
Blazingly fast starting point for your Emacs configuration
أدوات التطويرالنمو المقاس للنجوم
- خلال 24 ساعة
- -١
- خلال 7 أيام
- -١
- خلال 15 يومًا
- -١
- خلال شهر
- جارٍ جمع السجل
تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.
README.md
الأصلhttps://github.com/MiniApollo/kickstart.emacs/assets/72389030/5c66130d-66b9-459b-a26d-210f3f937459
Table of Contents
Introduction
This repository gives you a starting point for Gnu Emacs with good defaults, optional vim keybindings and packages that most people may want to use.
Kickstart.emacs is not a distribution.
It's a template for your own configuration.
This config is:
- A single file org document (with examples of moving to multi-file)
- Modular and easily configurable
- Documented describing its purpuse
Inspired by kickstart.nvim
Special thanks to:
Their content helped me to create this configuration.
Packages
Included Package list
- Package Manager: Package.el with Use-package (built in)
- Package Async: A module for doing asynchronous processing in Emacs
- Optin Evil mode: An extensible vi/vim layer
- General: Keybindings
- Doom-themes: Color scheme
- Optin undo setup: Undo Fu, Undo-fu-session, Vundo
- Doom-modeline: Prettier, more useful modeline
- Nerd Icons: For icons and more helpful ui (Supports both GUI and TUI)
- Projectile: Project interaction library
- Eglot: Language Server Protocol Support
- Mason.el: Installer for LSP servers, DAP servers, linters and formatters, inspired by mason.nvim
- Yasnippet: Template system and snippet collection package
- Optin Snippy: VSCode/LSP snippet support for Emacs with Yasnippet.
- Some Org mode packages (toc-org, org-superstar)
- Eat: Fast terminal emulator within Emacs
- Magit: Complete text-based user interface to Git
- Diff-hl: Highlights uncommitted changes
- Corfu: Enhances in-buffer completion
- Cape: Provides Completion At Point Extensions
- Vertico: Provides a performant and minimalistic vertical completion UI.
- Marginalia: Adds extra metadata for completions in the margins (like descriptions).
- Orderless: Completion style that matches candidates in any order
- Embark: Emacs Mini-Buffer Actions Rooted in Keymaps
- Optin: Jinx: Enchanted Spell Checker
- Consult: Provides search and navigation commands.
- Helpful: A better Emacs help buffer
- Diminish: Hiding or abbreviation of the modeline displays
- Rainbow Delimiters: Adds colors to brackets.
- Hl-todo: Highlight TODO keywords.
- Indent-guide: Show indendation.
- Which key: Helper utility for keychords
- Ws-butler: Removes whitespace from the ends of lines.
- Optin: Esup: Emacs Start Up Profiler.
Recommended Packages
If you want to see how to configure these, look up their git repositories or check out my config.
- DashBoard: Extensible startup screen.
- Drag Stuff: Makes it possible to move selected text, regions and lines.
- Rainbow Mode: Displays the actual color as a background for any hex color value (ex. #ffffff).
- Ghostel: Terminal emulator powered by libghostty
- Vterm: Fast, Fully-fledged terminal emulator inside GNU Emacs.
- Multi-vterm: Managing multiple vterm buffers in Emacs.
- Sudo-edit: Utilities for opening files with root privileges (also works with doas).
- Eldoc-box: Display eldoc documentation in a popup box.
- Javelin: Harpoon for Emacs. Dead simple buffer bookmarks.
- Gptel: A simple, extensible LLM client for Emacs.
- Org Modern: Modern Org Style.
Helpful resources
Videos and configurations to get started.
- Emacs From Scratch by System Crafters: Very detailed video series about building Gnu Emacs from the ground up.
- Configuring Emacs by DistroTube: Shorter but also very detailed video series about configuring Emacs from scratch.
- Mastering Emacs: An awesome blog covering interesting topics and practical tips about Emacs.
- Purcell's emacs configuration: Emacs configuration bundle with batteries included.
- Spacemacs and Doom Emacs: For an out of box experience and their wiki pages are really helpful.
- More starter kits: List of starter kits for Emacs.
- Emacs manual: For learning the fundamentals of Emacs.
Installation
1. Requirements
- Gnu Emacs 31.1 or later (Latest stable release)
- Git (To clone/download this repository)
Optional:
- ripgrep
- fd (improves file indexing performance for some commands)
2. Backup your previous configuration
If any exists.
3. Clone the repository to the configuration location
Linux and Mac
git clone https://github.com/MiniApollo/kickstart.emacs.git "${XDG_CONFIG_HOME:-$HOME/.config}"/emacs
Windows
- CMD:
git clone https://github.com/MiniApollo/kickstart.emacs.git %userprofile%\AppData\Local\emacs\
- Powershell:
git clone https://github.com/MiniApollo/kickstart.emacs.git $env:USERPROFILE\AppData\Local\emacs\
4. Start Emacs
Emacs will install all the requested packages (it can take a minute).
Note: If you see errors, warnings when package installation is finished just restart Emacs.
Post Installation
1. Install fonts
Run the following command with M-x (alt-x) C-y to paste
nerd-icons-install-fonts
Change or install JetBrains Mono font
2. Open the configuration file
- Hit Ctrl-Space-s-c to open the config file at $HOME/.config/emacs
Note If you use Windows you need to change the path (hit C-x C-f, find the config file and in general region replace the path)
- Now you can Edit and add more configuration.
3. Fork the repository
Recommended so that you have your own copy to modify.
Uninstallation
To uninstall kickstart.emacs, you need to remove the following directory:
- Delete the emacs folder/directory for your OS (E.g. $HOME/.config/emacs/).
Gallery
استكشف مشاريع مشابهة ومرتبطة
جارٍ التحميل…