There are many like it, but this one is mine.
- @purcell/emacs.d
- @hlissner/doom-emacs
- @cjohansen/emacs.d
- @skeeto/.emacs.d
- @jonnycyr/.emacs.d
- @rakanalh/dotemacs
- @ubolonton/.emacs.d
- @PythonNut/emacs-config
- @chrisbarrett/.emacs.d
The only required MELPA plugin is the use-package plugin. If it doesn’t install automatically, you can run:
;; M-x package-install RET use-package RET
(package-install "use-package")
All of my custom keybindings in my/bindings.el. Type M-x my/packs/conf RET bindings
I make heavy use of Mac’s super key as to avoid unnecessary C-* prefixes.
Binding | Function | Description |
---|---|---|
s-ESC | keyboard-escape-quit | |
s-. | save-buffer | |
s-0 | delete-window | |
s-1 | delete-other-windows | |
s-2 | my/split/dir-below | Split window and show current file’s parent dirin bottom window |
s-3 | my/split/dir-right | Split window and show current file’s parent dir in right window |
s-4 | my/split/dir-right-delete-other-windows | Delete all windows excape current file, show file’s parent dir in new right window |
s-b | bookmark-jump | |
s-c | whole-line-or-region-kill-ring-save | |
s-d | my/line/dup | Copy the current line and paste it on the line below |
s-D | my/line/dup-leap | Copy line N and paste it below the current line |
s-e | my/line/eval | |
s-f | projectile-find-file | |
s-g | ag | |
s-i | my/web/autoindent | Auto-indents the current file |
s-j | ivy-switch-buffer | |
s-J | previous-buffer | |
s-k | dired | |
s-K | next-buffer | |
s-n | mu4e-compose-new | |
s-m | mu4e | |
s-O | my/org/file | |
s-r | swiper-all-query-replace | |
s-R | my/screen/right | |
s-s | swiper-all | |
s-q | save-buffers-kill-terminal | |
s-v | whole-line-or-region-yank | |
s-x | whole-line-or-region-kill |
When I use use-package, I almost always want to (a.) install the package and then (b.) configure the package in its own comfy little config-<package>.el file. As such, you can install a new MELPA package using:
;; M-x my/packs/inst RET rainbow-delmiters RET
(my/packs/inst 'rainbow-delimiters)
This will install the package and also autogenerate a configuration file, which you can edit at:
;; M-x my/packs/conf RET rainbow-delimiters RET
(my/packs/conf 'rainbow-delimiters)
Add packages you want to autoload in init.el:
(my/packs/load
;; core packs
'melpa
'backups
'package-name
...
'split
'hours)