2015-12-20 02:26:34 -05:00
|
|
|
;;; core-eval.el
|
2015-06-15 09:05:52 +02:00
|
|
|
|
|
|
|
(use-package quickrun
|
|
|
|
:commands (quickrun
|
|
|
|
quickrun-region
|
|
|
|
quickrun-with-arg
|
|
|
|
quickrun-shell
|
|
|
|
quickrun-compile-only
|
|
|
|
quickrun-replace-region
|
2015-06-24 15:39:13 +02:00
|
|
|
helm-quickrun)
|
|
|
|
:config
|
2015-12-21 05:44:44 -05:00
|
|
|
(setq quickrun-focus-p nil)
|
|
|
|
(add-hook! quickrun/mode '(linum-mode))
|
2015-11-19 05:55:21 -05:00
|
|
|
(add-to-list 'quickrun-file-alist '("\\.gvy$" . "groovy")))
|
2015-06-15 09:05:52 +02:00
|
|
|
|
2015-11-25 06:00:49 -05:00
|
|
|
(use-package repl-toggle
|
|
|
|
:commands (rtog/toggle-repl rtog/add-repl)
|
2015-12-09 01:54:30 -05:00
|
|
|
:init
|
2015-12-20 02:26:34 -05:00
|
|
|
(setq rtog/mode-repl-alist '())
|
2015-12-09 01:54:30 -05:00
|
|
|
|
2015-12-21 05:44:44 -05:00
|
|
|
(defvar repl-p nil)
|
|
|
|
(make-variable-buffer-local 'repl-p)
|
|
|
|
|
2015-12-20 02:26:34 -05:00
|
|
|
(defun narf|repl-init ()
|
|
|
|
(yascroll-bar-mode +1)
|
|
|
|
(evil-initialize-state 'emacs)
|
2015-12-21 05:44:44 -05:00
|
|
|
(setq mode-line-format nil
|
|
|
|
repl-p t))
|
|
|
|
(add-hook! repl-toggle-mode 'narf|repl-init))
|
2015-11-25 06:00:49 -05:00
|
|
|
|
2015-12-20 02:26:34 -05:00
|
|
|
(provide 'core-eval)
|
|
|
|
;;; core-eval.el ends here
|