- Notifications
You must be signed in to change notification settings - Fork1
EmacsRuPub/emrc
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
- tangle this file to init.el `M-x org-babel-tangle`
- edit the latter according to your needs
- test it with your Emacs installation, you can even run it from `M-x eshell`
emacs -q -l init.el
- put it in your `~/.emacs.d/init.el` if everything is OK
By default, Emacs knows aboutGNU ELPA only, addsomemore repositories.
(require'package)(setq package-archives `(,@package-archives ("melpa"."https://melpa.org/packages/");; ("marmalade" . "https://marmalade-repo.org/packages/") ("org"."https://orgmode.org/elpa/");; ("user42" . "https://download.tuxfamily.org/user42/elpa/packages/");; ("emacswiki" . "https://mirrors.tuna.tsinghua.edu.cn/elpa/emacswiki/");; ("sunrise" . "http://joseito.republika.pl/sunrise-commander/") ))(package-initialize)
Use-package can’t install itself so we have to bootstrap it
(setq package-enable-at-startupnil)(unless (package-installed-p'use-package) (package-refresh-contents) (package-install'use-package))(eval-when-compile (require'use-package))(put'use-package'lisp-indent-function1)(setq use-package-always-ensuret)
InstallQuelpa, so we can install packages directly from their sources
(use-package quelpa)(use-package quelpa-use-package)
(use-package emrc-defaults:ensurenil:quelpa (emrc-defaults:repo"EmacsRuPub/emrc":fetcher github:files ("emrc-defaults.el")))
(use-package emrc-dired:ensurenil:quelpa (emrc-dired:repo"EmacsRuPub/emrc":fetcher github:files ("emrc-dired.el")))
(use-package emrc-completion-ivy:ensurenil:quelpa (emrc-completion-ivy:repo"EmacsRuPub/emrc":fetcher github:files ("emrc-completion-ivy.el")))