GithubHelp home page GithubHelp logo

jgarte / .emacs.d Goto Github PK

View Code? Open in Web Editor NEW

This project forked from chrisbarrett/.emacs.d

0.0 1.0 0.0 49.69 MB

My personal Emacs configuration.

Emacs Lisp 68.23% YASnippet 8.33% Nix 23.34% HTML 0.02% Shell 0.07% Makefile 0.01%

.emacs.d's Introduction

Emacs Config

My personal Emacs configuration. It’s a chonker.

I don’t recommend anyone else actually uses this as-is since it’s a personal setup that I change regularly. But the overall structure works well, and I’ve had a few coworkers fork and riff on this–it’s less magic than some of the popular community Emacs setups.

It demonstrates how to:

  • dynamically load config files from a directory using just use-package
  • split your configuration up, to keep config separate from vendored code
  • use Nix to build a self-contained Emacs with the 3rd party packages and utilities it needs

Installation

Nix is used to build an Emacs along with 3rd-party Lisp packages and required programs.

nix-build
./result/bin/emacs

The derivation can be imported into a NixOS or home-manager configuration using the usual mechanisms. Doing this would allow you to add this Emacs to your Nix profile for normal use.

{ pkgs, ... }:
{
  nixpkgs.overlays = [
    (self: super:
    {
      emacsCustom = builtins.fetchTarball rec {
        rev = "master";
        url = "https://github.com/chrisbarrett/.emacs.d/archive/${rev}.tar.gz";
      };
    })
  ];

  home.packages = [
    # Installs to ~/.nix-profile/bin/{emacs,emacsclient}
    pkgs.emacsCustom
  ];
}

.emacs.d's People

Contributors

chrisbarrett avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.