Restclient: Init config.

master
Pierre Neidhardt 2020-04-06 10:33:18 +02:00
parent a0ba1f66ad
commit 3b138f0afe
1 changed files with 10 additions and 0 deletions

View File

@ -284,6 +284,16 @@
(dolist (hook '(css-mode-hook html-mode-hook sass-mode-hook))
(add-hook hook 'rainbow-mode)))
(with-eval-after-load 'restclient
(define-key restclient-mode-map (kbd "M-s f") 'helm-restclient)
(add-to-list 'helm-source-names-using-follow "Sources")
(with-eval-after-load 'company-restclient
(add-to-list 'company-backends 'company-restclient)
(add-hook 'restclient-mode-hook 'company-mode)
(define-key restclient-mode-map (kbd "M-<tab>") (if (require 'helm-company nil t)
'helm-company
'company-complete))))
;;; Screencast
(with-eval-after-load 'camcorder
(setq camcorder-output-directory (expand-file-name "Downloads" "~")