Skip to content

okomestudio/emacs.d

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

emacs.d

The Emacs configuration directory.

Place this directory so that Emacs can find the init.el file. The auxiliary scripts used by Emacs is placed under the bin/ directory.

Convention

straight-use-package

The init.el is organized using use-package with straight.

Initializing a built-in package

Use :straight nil to avoid pulling the source:

(use-package builtin-package
  :straight nil
  …)

Use of init-loader

Package initialization files are in the lisp/ directory. The files actually loaded are symlinked in the init.d directory and loaded by the init-loader package. The files are sorted by file name and loaded in that order.

Run

init.d/symlinks.sh

to create symlinks under the init.d/ directory.

Key bindings

See the Key Binding Conventions section of the GNU Emacs Lisp Reference Manual.

Improving startup time

In Linux systems, the startup time for this Emacs initialization takes 1.5 - 2.0 seconds.

The find-at-startup option is removed from straight-check-for-modifications; see lisp/traight-use-package.el for caveat.

While the init.el in this repository is written primarily with readability and maintainability in mind, it pays well to be aware of improvement we can make with the startup time.

Packages to check out

  • deadgrep
    • Fast, friendly searching with ripgrep and Emacs
    • See ALTERNATIVES.md for a good summary of alternative tools
  • emr (Emacs Refactor)
    • A framework for providing language-specific refactoring
  • iwindow
    • Interactively manipulate windows
  • llm
    • A package abstracting llm capabilities
  • migemo
    • Provides incremental search with romanized Japanese
  • org-super-agenda
    • Supercharge your Org daily/weekly agenda by grouping items
  • password-store
    • Allows pass integration for managing credentials
  • reverse-im.el
    • Overrides function-key-map for preferred input method(s) to translate input sequences to English, so we can use emacs binding while a non-default system layout is active
  • selected-window-accent-mode
    • Accentuate the active window
  • symbols-outline.el
    • Display symbols (functions, variables, etc) in a side window.
  • textsize
    • Automatically choose a font point size for the Emacs default face based on the size and pixel pitch of the display
  • vlf
    • View large files

init.el repositories

Over the years, my Emacs init.el has been inspired by numerous sources, some of which are listed here in no particular order:

About

The Emacs configuration directory.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published