This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
spacemacs/layers/+spacemacs/spacemacs-misc/packages.el

36 lines
1.1 KiB
EmacsLisp
Raw Normal View History

;;; packages.el --- Spacemacs Misc. Layer packages File
;;
;; Copyright (c) 2012-2016 Sylvain Benner & Contributors
;;
;; Author: Sylvain Benner <sylvain.benner@gmail.com>
;; URL: https://github.com/syl20bnr/spacemacs
;;
;; This file is not part of GNU Emacs.
;;
;;; License: GPLv3
(setq spacemacs-misc-packages
'(
2016-08-13 13:43:37 +00:00
dumb-jump
request
))
2016-08-13 13:43:37 +00:00
(defun spacemacs-misc/init-dumb-jump ()
(use-package dumb-jump
:defer t
:init
(progn
;; not activating `dumb-jump-mode' because it only adds key bindings, and
;; they conflict with existing bindings (see
;; https://github.com/syl20bnr/spacemacs/issues/7107)
(spacemacs/set-leader-keys "jq" #'dumb-jump-quick-look)
2016-08-13 13:43:37 +00:00
;; Since it's dumb, we add it to the end of the default jump handlers. At
;; the time of writing it is the only default jump handler. (gtags remains
;; mode-local)
(add-to-list 'spacemacs-default-jump-handlers 'dumb-jump-go 'append))))
2016-08-13 13:43:37 +00:00
(defun spacemacs-misc/init-request ()
(setq request-storage-directory
(concat spacemacs-cache-directory "request/")))