My set of small configs for Emacs.
~> tree ~/.emacs.d/ |--- conf | |--- aliases-cfg.el | |--- backup-cfg.el | |--- c-cfg.el | |--- caml-cfg.el | |--- cider-cfg.el | |--- custom-cfg.el | |--- d-cfg.el | |--- db-cfg.el | |--- dired-cfg.el | |--- elisp-cfg.el | |--- erc-cfg.el | |--- erc-channels-mode.el | |--- eshell-cfg.el | |--- eww-cfg.el | |--- fsharp-cfg.el | |--- gimp-cfg.el | |--- global-cfg.el | |--- haskell-cfg.el | |--- interface-cfg.el | |--- keybindings-cfg.el | |--- org-cfg.el | |--- parens-cfg.el | |--- racket-cfg.el | |--- rust-cfg.el | |--- slime-cfg.el | |--- snippets-cfg.el | |--- web-cfg.el |--- eshell | |--- alias |--- el-get-user | |--- recipes | |--- geiser.rcp | |--- rmsbolt.rcp | |--- services-mode.rcp |--- list | |--- conf.el | |--- exclusions-example.el |--- delete-compiled-el.sh |--- exec-path-example.txt |--- init.el |--- README.org 4 directories, 37 files
I use the latest release of Emacs, the config should run in Emacs 25.2 in any Linux environment.
- GNU Emacs Reference Card (for version 25)
- Org-Mode Reference Card (for version 8.2)
- AUCTeX manual
- GNU Calc Reference Card (for version 25)
- Dired Reference Card (based on Dired in GNU Emacs 25)
key | description |
C-x f3 | open init file (~/.emacs.d/init.el) |
M-x | smex |
M-X | major mode smex |
C-c C-i | company complete |
C-c i | company-complete-common |
C-x g | magit status |
C-x M-g | magit dispatch popup |
C-x C-k | kill this buffer |
C-x M-k | kill this buffer and delete the window |
C-x C-delete | kill the readonly window |
C-x C-r | sudo edit |
C-c ; or C-c C-; | comment line |
C-x r v | string rectangle |
C-c f8 | aligning with whitespaces |
C-c f9 | aligning with pipes |
M-n | scroll up line |
M-p | scroll down line |
up | windmove up |
down | windmove down |
left | windmove left |
right | windmove right |
C-x o | switch window |
C-x , or C-pageup | previous buffer |
C-x , or C-pagedown | next buffer |
C-x / | comment or uncomment region |
C-x C-_ | uncomment region |
C-z | undo |
C-M-z | redo |
f2 | save buffer |
f3 | neotree toggle |
f6 | insert char |
f7 | line highlighting toggle |
f8 | linum mode toggle |
C-c w | compare windows |
C-c f10 | fill debian CONTROL description |
Note: optional? means «for the first startup with the just downloaded ~/.emacs.d».
package (archlinux or *buntu) | optional? | for what |
make | no | for build some base packages taken by el-get |
autoconf (or dh-autoreconf) | no | see above |
gmake | no (openbsd) | for build some base packages taken by el-get |
git | no | el-get |
texinfo | no (openbsd) | makeinfo, swiper, haskell |
texlive-latex-base | no | pdftex |
libpng-dev | no | pdf-tools |
libglib2.0-dev | no | pdf-tools |
libpoppler-dev | no | pdf-tools |
libpoppler-glib-dev | no | pdf-tools |
libpoppler-private-dev | no | pdf-tools |
python | no | cask |
cargo | yes | rust |
opam | yes | caml |
dcd | yes | The D Completion Daemon for the D programming language |
merlin | yes | code completion tool for OCaml |
leiningen | yes | cider depends on |
sbcl | yes | slime |
ccl | yes | slime |
racket | yes | racket, of course |
terminus-font | no (linux) | it’s the default font for me in Emacs in Linux |
terminus-font-ttf (aur) | no (windows) | see above, but in this case actual for a windows environment |
ttf-inconsolata | yes | an avalailable font |
hunspell | yes | basic spell checking |
curl -O https://beta.quicklisp.org/quicklisp.lisp
sbcl --load quicklisp.lisp
In SBCL env:
∗ (quicklisp-quickstart:install)
∗ (ql:quickload “quicklisp-slime-helper”)
sudo pacman -S make autoconf git cargo
git clone https://gitlab.com/dmhz/emacs.cfg.git <.emacs.d or something else>