Coder Social home page Coder Social logo

deb0ch / .my-emacs-config Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 13.94 MB

Emacs Lisp 92.16% Gherkin 1.29% Shell 0.16% Ruby 0.08% Makefile 0.36% Python 0.01% HTML 0.04% PowerShell 0.01% M4 0.04% C 4.54% C++ 0.96% TeX 0.02% CSS 0.07% CMake 0.26%

.my-emacs-config's Introduction

My Emacs config

This my emacs configuration system, largely inspired by Romain Ouabdelkader (Azkae)'s config

Install

Add the two following lines to your .emacs (and clear out the rest):

(add-to-list 'load-path "~/.my-emacs-config/") (require 'init-config)

Adding modules

To add keep consistency when adding or updating a module, use git-subrepo.

To add a module, use git subrepo to clone that module's repo and its dependencies in src/modules.

Most of the time, that repo will be an ELPA package.

Add the lines needed for activation and configuration of the module in a .el file named after the module in src/config.

Structure

This is what you can find in the root folder:

  • config-loader.el # General functions needed by the config system. Called by setup.el
  • configs/ # Your modules configuration. Feel free to add your own.
  • modules/ # Location of modules. Modules are mostly git repos corresponding to Elpa packages.
  • init-config.el # The one file to load from your .emacs. Here you can add/remove files to load in your configs/ folder.

A typical init-config.el file should look like this:

(require 'config-loader)

(conf:load-config "autopair")
(conf:load-config "company")
(conf:load-config "helm")
(conf:load-config "file-in-configs-folder")
;; ...

(provide 'init-config)

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.