Add restclient
This commit is contained in:
parent
2d4f6da11c
commit
52ea11b984
18
init.el
18
init.el
@ -753,6 +753,24 @@
|
||||
:config
|
||||
(yas-global-mode t))
|
||||
|
||||
;;====================
|
||||
;; restclient (REST Interaction Mode)
|
||||
;;====================
|
||||
|
||||
;; Load restclient
|
||||
(use-package restclient
|
||||
:init
|
||||
(defun restclient ()
|
||||
"Opens the restclient buffer, (re)creating it if not present."
|
||||
(interactive)
|
||||
(if (get-buffer "*restclient*")
|
||||
(switch-to-buffer "*restclient*")
|
||||
(progn
|
||||
(switch-to-buffer (get-buffer-create "*restclient*"))
|
||||
(restclient-mode))))
|
||||
:commands
|
||||
(restclient-mode))
|
||||
|
||||
;;====================
|
||||
;; string-inflection (Word Name Case Conversion)
|
||||
;;====================
|
||||
|
Loading…
Reference in New Issue
Block a user