Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;; I'm writing this from scratch, wish me luck
- ;; note to self, ALWAYS ATTRIBUTE SOURCES
- ;; TODO https://github.com/emacs-helm/helm-exwm
- ;; TODO general to manage keybinds
- ;; Basic package management system initialization
- ;; Sourced from: https://blog.aaronbieber.com/2015/05/24/from-vim-to-emacs-in-fourteen-days.
- ;; Refactored based on example.init.el
- (require 'package) ;; load the built-in package manager
- ;; add popular repositories
- (setq package-archives
- '(("org" . "https://orgmode.org/elpa/")
- ("melpa" . "https://melpa.org/packages/")
- ("melpa-stable" . "https://stable.melpa.org/packages/")
- ("gnu" . "https://stable.melpa.org/packages/")))
- (setq package-enable-at-startup nil)
- (package-initialize) ;; initialize list of packages
- ;; ensure all packages enabled by use-package are installed
- (unless (package-installed-p 'use-package)
- (package-refresh-contents)
- (package-install 'use-package))
- (eval-when-compile
- (require 'use-package))
- ;; Add evil-mode using use-package
- ;; Sourced from: https://github.com/jwiegley/use-package and https://blog.aaronbieber.com/2015/05/24/from-vim-to-emacs-in-fourteen-days.
- (use-package evil
- :ensure t
- :config
- (evil-mode t))
- (use-package helm
- :ensure t)
- ;; run scheme in emacs http://community.schemewiki.org/?emacs-tutorial
- (use-package quack
- :ensure t)
- ;; php formatting https://www.philnewton.net/blog/formatting-php-code-with-emacs/
- (use-package php-mode
- :ensure t)
- ;; This is the stuff added by the interactive customization interface which ships with emacs
- (custom-set-variables
- ;; custom-set-variables was added by Custom.
- ;; If you edit it by hand, you could mess it up, so be careful.
- ;; Your init file should contain only one such instance.
- ;; If there is more than one, they won't work right.
- '(inhibit-startup-screen t)
- '(package-selected-packages
- (quote
- (php-mode php-beautifier quack helm use-package evil)))
- '(quack-programs
- (quote
- ("mzscheme" "bigloo" "csi" "csi -hygienic" "gosh" "gracket" "gsi" "gsi ~~/syntax-case.scm -" "guile" "kawa" "mit-scheme" "racket" "racket -il typed/racket" "rs" "scheme" "scheme48" "scsh" "sisc" "stklos" "sxi"))))
- (custom-set-faces
- ;; custom-set-faces was added by Custom.
- ;; If you edit it by hand, you could mess it up, so be careful.
- ;; Your init file should contain only one such instance.
- ;; If there is more than one, they won't work right.
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement