spacemacs/contrib/restclient/packages.el
syl20bnr fdd4e944ef Reload dotfile and layer anywhere with SPC f e R
Replace `SPC m c c` and `C-c C-c` in the dotfile

Resolve #1210
2015-04-18 23:40:24 -04:00

26 lines
613 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))
(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
))
)
)