diff options
| author | Jakob L. Kreuze | 2020-06-01 16:53:50 -0400 |
|---|---|---|
| committer | Jakob L. Kreuze | 2020-06-01 16:53:50 -0400 |
| commit | 6c7f0b8ae2de30a808901b16b0d462fe833ea1b4 (patch) | |
| tree | 2cc0a3e9022fc43c39e5b91f4e7832b5387636e9 /lisp/quality-of-life.el | |
| parent | 4d4f759881e310818055c31f286158da9db60d1c (diff) | |
Break config into files.
Diffstat (limited to 'lisp/quality-of-life.el')
| -rw-r--r-- | lisp/quality-of-life.el | 86 |
1 files changed, 86 insertions, 0 deletions
diff --git a/lisp/quality-of-life.el b/lisp/quality-of-life.el new file mode 100644 index 0000000..b7fbe98 --- /dev/null +++ b/lisp/quality-of-life.el @@ -0,0 +1,86 @@ +;;; quality-of-life.el -*- lexical-binding: t; -*- +;;; +;;; Author: Jakob L. Kreuze <zerodaysfordays@sdf.org> +;;; URL: https://git.sr.ht/~jakob/.emacs.d/ +;;; +;;; Configuration for packages which I consider to be functional improvements to +;;; the quality of my daily Emacs usage. +;;; + + +;;; +;;; Ivy +;;; + +;; As suggested by a friend [1], I tried out `ivy' as a replacement for `ido.' +;; It was love at first sight. It's snappy, and works even better than `ido' +;; after setting `exwm-workspace-show-all-buffers' and +;; `exwm-layout-show-all-buffers'. +;; +;; [1]: https://icosahedron.website/@zge/101330910258980695 + +(use-package ivy + ;; Configure how the =completing-read= is displayed. + :init + (setq ivy-height 5 ivy-count-format "") + + ;; Enable Ivy globally. + :config + (ivy-mode 1)) + +;; `counsel' is a nice Ivy-based frontend for a couple of interactive commands. + +(use-package counsel + :demand t + :bind + ("C-x b" . counsel-switch-buffer)) + +;; Use Swiper instead of isearch. + +;; TODO: Should I re-enable this? + +;; (use-package swiper +;; :bind +;; ("C-r" . swiper) +;; ("C-s" . swiper)) + + +;;; +;;; Imenu +;;; + +(use-package imenu + :bind ("C-c s" . imenu)) + + +;;; +;;; Yasnippet +;;; + +;; Load all snippets when `yas-minor-mode' is enabled. + +(use-package yasnippet + :demand t + :hook + (yas-minor-mode . yas-reload-all)) + + +;;; +;;; Avy +;;; + +;; Set up keybindings for Avy. + +(use-package avy + :bind + ("M-s" . avy-goto-char)) + +;; Install a link-selection package for Avy, and create a binding for `org-mode'. + +;; TODO: Should I re-enable this? + +;; (use-package ace-link +;; :after org +;; :init (ace-link-setup-default) +;; :bind (:map org-mode-map +;; ("C-c C-o" . ace-link-org))) |