Restclient: Init config.
parent
a0ba1f66ad
commit
3b138f0afe
|
@ -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" "~")
|
||||
|
|
Loading…
Reference in New Issue