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/contrib/restclient/packages.el

26 lines
613 B
EmacsLisp
Raw Normal View History

(setq restclient-packages
2014-11-27 19:59:24 +00:00
'(
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))
(evil-leader/set-key-for-mode 'restclient-mode
"ms" 'restclient-http-send-current-stay-in-window
"mS" 'restclient-http-send-current
"mr" 'restclient-http-send-current-raw-stay-in-window
"mR" 'restclient-http-send-current-raw
))
)
)