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/restclient/packages.el
justbur 9befd20a1a layers: Transition to new key bindings functions
Removes dependence on evil-leader centralizing control over the method
of key binding in core-keybindings.el
2015-11-21 18:22:51 +01:00

25 lines
621 B
EmacsLisp

(setq restclient-packages
'(
restclient
)
)
(defun restclient/init-restclient ()
(use-package restclient
:mode ("\\.http\\'" . restclient-mode)
:defer t
:init
(progn
(defun restclient-http-send-current-raw-stay-in-window ()
(interactive)
(restclient-http-send-current t t))
(spacemacs/set-leader-keys-for-major-mode 'restclient-mode
"s" 'restclient-http-send-current-stay-in-window
"S" 'restclient-http-send-current
"r" 'restclient-http-send-current-raw-stay-in-window
"R" 'restclient-http-send-current-raw
))
)
)