1 ;;; packages.el --- aminb layer packages file for Spacemacs.
3 ;; Copyright (c) 2016 Amin Bandali
5 ;; Author: Amin Bandali <amin@aminb.org>
6 ;; URL: https://github.com/aminb/dotfiles
8 ;; This file is not part of GNU Emacs.
14 ;; This file is a collection of my settings and customizations on top of
19 (defconst aminb-packages
20 '(crux writeroom-mode
)
21 "The list of Lisp packages required by the aminb layer.")
23 (defun aminb/init-crux
()
26 :bind
(("C-c d" . crux-duplicate-current-line-or-region
)
27 ("C-c M-d" . crux-duplicate-and-comment-current-line-or-region
)
30 (defun aminb/init-writeroom-mode
()
31 (use-package writeroom-mode
; Distraction-free editing
33 :config
(setq writeroom-width
82)
34 :bind
(("C-c W" . writeroom-mode
)
35 ("s-?" . writeroom-toggle-mode-line
))))
38 ;;; packages.el ends here