Skip to content

Emacs Configuration

Gen Notes on Emacs Config

My Emacs config is structured as follows:

  • Folder .emacsd contains all the Emacs stuff
  • File init.el contains:
    • Stuff placed here by Emacs itself (e.g. Custom and Package.el)
    • Load my modular config file located in subfolder ska_init:
      (load "~/.emacs.d/ska_init/ska_emacs_init.el")
  • File ska_emacs_init.el only loads other init files
  • Modular files separated by scope:
    • env: general settings (UTF-8, tab width, package manager)
    • ui: clear UI, remove startup screen, line numbers, highligh selected line, window size, etc
    • packages: packages to be loaded and package-specific settings
    • keybindings: keyboard shortcuts
    • theme: theme-specific settings
    • hydra: settings for hydra here (TBH, I don't use this much yet)
  • conf/org.el: Org-Mode settings here

My Emacs Config Structure

.emacsd/
├── init.el
├── ska_init/
│   ├── ska_emacs_init.el
│   ├── ska_emacs_env.el
│   ├── ska_emacs_ui.el
│   ├── ska_emacs_packages.el
│   ├── ska_emacs_keybindings.el
│   ├── ska_emacs_theme.el
│   └── ska_emacs_hydra.el
├── lisp/
│   ├── (packages' lisp files here - for packages loaded manually)
├── conf/
│   ├── org.el
...