Skip to content

marcwebbie/.emacs.d

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Emacs config

This is my emacs configuration files. If you want to use them, the best thing is probably to fork the project at Github (http://github.com/marcwebbie/.emacs.d#fork-destination-box) and then make your changes to that branch. This config is has a lot of ideas from:

Installing

First of all make sure you have installed Emacs version 24.3 or higher.

Fetch the config files:

git clone git://github.com/marcwebbie/.emacs.d.git ~/.emacs.d

Tips for using these emacs settings

If you want to use my settings straight out of the box, here are some things to note:

  • I recommend starting with a blank emacs + Technomancy's better-defaults package, and then dig through this repo for useful nuggets, instead of forking it directly.

  • Autocomplete using hippie-expand with C-. (autocomplete entire lines with C-:)

  • On a mac, the Meta key M is bound to Command.

  • I recommend rebinding Caps Lock to Ctrl and use that instead of the often badly placed Ctrl-key.

  • Watch emacsrocks.com

Installing on python projects

Aliases to install required packages, create a virtualenv with python3 and load virtualenv

mkenv() { python3 -m venv "$1" && "$1"/bin/pip install -U pip wheel black flake8 bpython ipython pudb && source "$1"/bin/activate; }
ldenv() { source ~/.virtualenvs/"$(basename $PWD)"/bin/activate }

License (Public Domain)

This is free and unencumbered software released into the public domain.

Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means.

In jurisdictions that recognize copyright laws, the author or authors of this software dedicate any and all copyright interest in the software to the public domain. We make this dedication for the benefit of the public at large and to the detriment of our heirs and successors. We intend this dedication to be an overt act of relinquishment in perpetuity of all present and future rights to this software under copyright law.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

For more information, please refer to http://unlicense.org