Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dogfalo/.emacs.d
https://github.com/dogfalo/.emacs.d
Last synced: 3 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/dogfalo/.emacs.d
- Owner: Dogfalo
- Created: 2015-09-27T09:29:21.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-11-05T17:03:16.000Z (about 9 years ago)
- Last Synced: 2024-04-14T07:47:18.023Z (7 months ago)
- Language: Emacs Lisp
- Size: 3.56 MB
- Stars: 2
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# this is a Clojure-friendly emacs config
If you're new to emacs, check out
[this introductory tutorial](http://www.braveclojure.com/basic-emacs/)!## Organization
I've tried to separate everything logically and document the purpose
of every line. [`init.el`](./init.el) acts as a kind of table of
contents. It's a good idea to eventually go through `init.el` and the
files under the `customizations` directory so that you know exactly
what's going on.## Supporting CSS, HTML, JS, etc.
Emacs has decent support for CSS, HTML, JS, and many other file types out of the box, but if you want better support, then have a look at [my personal emacs config's init.el](https://github.com/flyingmachine/emacs.d/blob/master/init.el). It's meant to read as a table of contents. The emacs.d as a whole adds the following:
* [Customizes js-mode and html editing](https://github.com/flyingmachine/emacs.d/blob/master/customizations/setup-js.el)
* Sets indentation level to 2 spaces for JS
* enables subword-mode so that M-f and M-b break on capitalization changes
* Uses `tagedit` to give you paredit-like functionality when editing html
* adds support for coffee mode
* [Uses enh-ruby-mode for ruby editing](https://github.com/flyingmachine/emacs.d/blob/master/customizations/setup-ruby.el). enh-ruby-mode is a little nicer than the built-in ruby-mode, in my opinion.
* Associates many filenames and extensions with enh-ruby-mode (.rb, .rake, Rakefile, etc)
* Adds keybindings for running specs
* Adds support for YAML and SCSS using the yaml-mode and scss-mode packagesIn general, if you want to add support for a language then you should be able to find good instructions for it through Google. Most of the time, you'll just need to install the "x-lang-mode" package for it.