Skip to content

DmHertz/emacs.cfg

Repository files navigation

~/.emacs.d

My set of small configs for Emacs.

my dotemacs structure

~> 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

supported version

I use the latest release of Emacs, the config should run in Emacs 25.2 in any Linux environment.

useful stuff

the reference cards

global keybindings

keydescription
C-x f3open init file (~/.emacs.d/init.el)
M-xsmex
M-Xmajor mode smex
C-c C-icompany complete
C-c icompany-complete-common
C-x gmagit status
C-x M-gmagit dispatch popup
C-x C-kkill this buffer
C-x M-kkill this buffer and delete the window
C-x C-deletekill the readonly window
C-x C-rsudo edit
C-c ; or C-c C-;comment line
C-x r vstring rectangle
C-c f8aligning with whitespaces
C-c f9aligning with pipes
M-nscroll up line
M-pscroll down line
upwindmove up
downwindmove down
leftwindmove left
rightwindmove right
C-x oswitch window
C-x , or C-pageupprevious buffer
C-x , or C-pagedownnext buffer
C-x /comment or uncomment region
C-x C-_uncomment region
C-zundo
C-M-zredo
f2save buffer
f3neotree toggle
f6insert char
f7line highlighting toggle
f8linum mode toggle
C-c wcompare windows
C-c f10fill debian CONTROL description

dependencies

Note: optional? means «for the first startup with the just downloaded ~/.emacs.d».

package (archlinux or *buntu)optional?for what
makenofor build some base packages taken by el-get
autoconf (or dh-autoreconf)nosee above
gmakeno (openbsd)for build some base packages taken by el-get
gitnoel-get
texinfono (openbsd)makeinfo, swiper, haskell
texlive-latex-basenopdftex
libpng-devnopdf-tools
libglib2.0-devnopdf-tools
libpoppler-devnopdf-tools
libpoppler-glib-devnopdf-tools
libpoppler-private-devnopdf-tools
pythonnocask
cargoyesrust
opamyescaml
dcdyesThe D Completion Daemon for the D programming language
merlinyescode completion tool for OCaml
leiningenyescider depends on
sbclyesslime
cclyesslime
racketyesracket, of course
terminus-fontno (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-inconsolatayesan avalailable font
hunspellyesbasic spell checking

common lisp env setup

curl -O https://beta.quicklisp.org/quicklisp.lisp
sbcl --load quicklisp.lisp

In SBCL env:

∗ (quicklisp-quickstart:install)

∗ (ql:quickload “quicklisp-slime-helper”)

how to install

in an Arch Linux environment

sudo pacman -S make autoconf git cargo
git clone https://gitlab.com/dmhz/emacs.cfg.git <.emacs.d or something else>

About

My set of small configs for Emacs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published