Skip to content
This repository has been archived by the owner on Mar 7, 2024. It is now read-only.

a batteries included emacs config which supports emacs 24 on GNU/Linux & MacOS.

License

Notifications You must be signed in to change notification settings

daggersdrawn/.emacs.gammelig

Repository files navigation

emacs

a batteries included emacs config which supports emacs24, gnu/linux and osx.

NOTE: to install emacs on osx:

$ brew install emacs --HEAD --use-git-head --cocoa --srgb

prepare el-get

el-get manages the external elisp bits and pieces upon which we depend. el-get depends upon version control tools to install packages. you need at least git, hg and cvs to use this repo as is, but it is better to future proof your system now. you can learn more about el-get here: https://github.com/dimitri/el-get

NOTE: el-get uses gnu/tar regularly and ftp on occasion.

NOTE: osx users can find many of these packages in homebrew http://mxcl.github.com/homebrew/

NOTE: darcs may be installed with cabal and likewise mercurial with python

prepare python

flyc needs python packages to be installed in your system or virtualenv site-packages folder. i've tried both and recommend using your distro's package manager. On Arch that would be:

$ yaourt -S --noconfirm flake8 python2-flake8

You can auso use pip (or sudo pip) to install to your system site-packages:

$ pip install flake8

NOTE: if you want to use pip http://pypi.python.org/pypi/pip that requires you to install pip.

prepare tex

prepare spellchecker

install gnu/aspell http://aspell.net/

NOTE: osx users can find aspell in homebrew http://mxcl.github.com/homebrew/ and can install with brew install aspell --lang=en

prepare big huge thesaurus

get an api key for http://words.bighugelabs.com/ and export the BIGHUGETHESAURUS variable in your ~/.bashrc:

export BIGHUGETHESAURUS="apikey"

extra credit

launch emacs as a daemon http://www.emacswiki.org/emacs/EmacsAsDaemon on your distro/os for wicked fast startup speeds.

prepare font

by default, this config uses the inconsolata font http://levien.com/type/myfonts/inconsolata.html for alternative choices that work well see http://hivelogic.com/articles/top-10-programming-fonts/

clone this repo

easy mobisi:

$ git clone https://github.com/nillab/.emacs.d.git ~/.emacs.d

flight plans

copy my scratchpad.el to one of your own so that you may add customizations. if your username was yulka, you would do the following:

$ mkdir ~/.emacs.d/configs/yulka/
$ cp ~/.emacs.d/configs/rizumu/scratchpad.el ~/.emacs.d/configs/yulka/

takeoff

el-get and desired recipes are automatically installed on first launch:

$ emacs -nw

NOTE: --nw is short for --no-window-system

all el-get packages are installed on second launch:

$ emacs -nw

off to the stars:

 $ emacs -nw .
                _   _                            *
                -   - _..------.._
      *             ,'    .__,    `.
                 __/______(__)______\__   *
 .           __,'______________________`.__  .         .    *   .
-o-      ,-'' __    __    _____   __    __ ``'.       -o-      -o-
 '      (    (__)  (__)  |emacs| (__)  (__)    )       '        '
     *   `-..______________________________...'        ,--.
 .             `.___________________ __,'    .        (    )
-o-       .        `-.-.--------.-.-'       -o-        `--'
 '             *                             '                *

$ exit

change theme

if you don't like the zenburn theme installed by default, you can use color-theme http://emacswiki.org/emacs/ColorTheme to select an alternative. Make your choice permanent by setting load-theme https://github.com/nillab/.emacs.d/blob/master/rizumu.el#L3

installing packages

read the el-get basic usage docs to understand how you use it to manage your elisp dependencies https://github.com/dimitri/el-get#usage

this repo installs a lot of elisp dependencies by default in the ~/.emacs.d/init.el and does not provide an easy way for you to remove or add new ones without forking. the same is true for the configuration files found in ~/.emacs.d/configs/cfg_something.el and the ~/.emacs.d/snippets/ yasnippets.

a solution to this is forthcoming which will simply involve a set of defaults in init.el with customizations to add/remove dependencies and configs specified in your username.el or hostname.el

learn keybindings

emacs shortcut to open ~/.emacs.d/keybindings.org:

C-c C-k

NOTE: this is a .org file, so learn that pressing <tab> expands and collapses the nodes in the tree.

new to emacs?

About

a batteries included emacs config which supports emacs 24 on GNU/Linux & MacOS.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages