This is my (Michalis Kamburelis) Emacs configuration.
I use this repo to synchronize my Emacs configuration between many systems. It works with many OSes like normal Unix (Linux, FreeBSD...), macOS, Windows. It assumes a "reasonably fresh" Emacs version (as found in various Linux distros, in their stable or newer versions).
Some of this EmacsLisp code is very old, some of it is very new. Some of it is more generally-useful, some of it is very specific to my personal needs and preferences. Reuse as you like:)
My typical setup instructions (assuming you want to put this in ~/elisp
, otherwise edit the path in sample_dot_emacs.el):
cd $HOME
git clone --recurse-submodules https://github.com/michaliskambi/elisp
# If you create ~/tmp, deleting from Emacs will move files there.
mkdir -p ~/tmp
cat ~/elisp/doc/sample_dot_emacs.el >> .emacs
# If you have ~/bin on $PATH, you can place there the scripts "e" and "e-wait".
mkdir -p ~/bin
cd ~/elisp/script/
./install-e
# Note: the first Emacs run with this .emacs will install some packages,
# see kam-install-if-needed invocation in kambi-various-personal.el .
# Configure/upgrade then by paradox-list-packages.
There are no required dependencies on external programs, everything should work regardless of the state of the system. But you may find it useful to install some software:
-
ripgrep, my favourite grep-like tool. Some common (Linux and Windows) binaries for ripgrep are now hosted in this repository, to make it instantly available on new systems, so I only need to clone this repository to have the setup I like.
Previously I used ag (silver searcher), installable by
sudo apt-get install silversearcher-ag
on Linux.And previously I used simple grep. Code to fallback to them can still be found in this elisp code.
-
On Windows, the Emacs will be automatically integrated with cygwin, so it will run Cygwin's shell, understand Cygwin's paths.