-
Run
git clone [email protected]:norswap/.emacs.d.git ~/.emacs.d. -
Symlink
site-start.elfrom yoursite-lispdirectory to thesite-start.elin this directory. The typical Linux command is:sudo ln -s ~/.emacs.d/site-start.el /usr/local/share/emacs/site-lisp/site-start.el
On Windows, the
site-lispdirectory is inside the emacs install directory (in doubt, tryC:\Program Files\emacs). -
[Linux] Add
.~/.emacs.d/init.shto your.bashrc(or equivalent). -
[Windows] Symlink or copy
emacs.batto your emacs install directory, and run emacs via this file.
Note: to make symlinks in Windows, use LinkShellExtension.
-
To use the registry tweaks described next, you'll need to copy or symlink
emacs.batto%WINDIR%. The registry apparently does not use%PATH%for path resolution, but at least uses%WINDIR. -
Merging the file
registry/noext.regwith the registry associates files with without extensions to emacs. It is equivalent to typing the following commands in a terminal:assoc .=noext ftype noext=emacs "%1" -
Merging the file
registry/unknown.regwith the registry associates files with unkown extensions to emacs. -
Merging the file
registry/openwith.regwith the registry add an "open with emacs" item to the context menu of all files.
If you get an error looking like The directory ~/.emacs.d/server is unsafe,
try taking ownership of that directory (setting yourself as the directory owner
in the directory's properties - google it).