mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
lang/rest: update (w/ keybindings + :popup)
This commit is contained in:
@ -2,7 +2,15 @@
|
||||
|
||||
(def-package! restclient
|
||||
: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
|
||||
|
Reference in New Issue
Block a user