lang/rest: update (w/ keybindings + :popup)
This commit is contained in:
parent
cc37a2d6e7
commit
d64ee3c2f6
1 changed files with 9 additions and 1 deletions
|
@ -2,7 +2,15 @@
|
||||||
|
|
||||||
(def-package! restclient
|
(def-package! restclient
|
||||||
:commands restclient-mode
|
:commands restclient-mode
|
||||||
:mode ("\\.http$" . restclient-mode))
|
:mode ("\\.http$" . restclient-mode)
|
||||||
|
:config
|
||||||
|
(set! :popup "*HTTP Response*" :size 30 :select t :noesc t :autokill t)
|
||||||
|
(map! :mode restclient-mode
|
||||||
|
:n [M-return] 'restclient-http-send-current
|
||||||
|
:localleader
|
||||||
|
:desc "Execute HTTP request" :n "e" 'restclient-http-send-current
|
||||||
|
:desc "Execute raw HTTP request" :n "E" 'restclient-http-send-current-raw
|
||||||
|
:desc "Copy curl command" :n "c" 'restclient-copy-curl-command))
|
||||||
|
|
||||||
|
|
||||||
(def-package! company-restclient
|
(def-package! company-restclient
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue