6b33031dc5
- Rename contrib directory to layers - Add new variable dotspacemacs-distribution - Move spacemacs layer to layers/!distribution - New layer spacemacs-core in layers/!distribution - User can now set dotspacemacs-distribution to spacemacs or spacemacs-core (default spacemacs) spacemacs-core is very lightweight layer sufficient to build upon spacemacs.
25 lines
613 B
EmacsLisp
25 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
|
|
))
|
|
)
|
|
)
|