core-quickrun.el -> core-eval.el
This commit is contained in:
parent
76aa4cb9ac
commit
6b38183786
1 changed files with 12 additions and 7 deletions
31
core/core-eval.el
Normal file
31
core/core-eval.el
Normal file
|
@ -0,0 +1,31 @@
|
|||
;;; core-eval.el
|
||||
|
||||
(use-package quickrun
|
||||
:commands (quickrun
|
||||
quickrun-region
|
||||
quickrun-with-arg
|
||||
quickrun-shell
|
||||
quickrun-compile-only
|
||||
quickrun-replace-region
|
||||
helm-quickrun)
|
||||
:config
|
||||
(setq quickrun-focus-p t)
|
||||
(add-hook! quickrun/mode '(linum-mode yascroll-bar-mode))
|
||||
(add-to-list 'quickrun-file-alist '("\\.gvy$" . "groovy")))
|
||||
|
||||
(use-package repl-toggle
|
||||
:commands (rtog/toggle-repl rtog/add-repl)
|
||||
:init
|
||||
(setq rtog/mode-repl-alist '())
|
||||
|
||||
(defun narf|repl-init ()
|
||||
(yascroll-bar-mode +1)
|
||||
(evil-initialize-state 'emacs)
|
||||
(setq mode-line-format nil))
|
||||
(add-hook! repl-toggle-mode 'narf|repl-init)
|
||||
:config
|
||||
(map! :map repl-toggle-mode-map
|
||||
"ESC ESC" 'narf/popup-close))
|
||||
|
||||
(provide 'core-eval)
|
||||
;;; core-eval.el ends here
|
Loading…
Add table
Add a link
Reference in a new issue