~ruther/emacs.d

9ede808053e81729789c13724b20ee56b13db0ea — Rutherther 10 days ago d8ed3c9
feat: Add shell-command-x and other packages I tried (commented)
1 files changed, 45 insertions(+), 0 deletions(-)

M init.el
M init.el => init.el +45 -0
@@ 1018,6 1018,51 @@
    (kbd "C-p") 'eat-line-previous-input
    (kbd "C-n") 'eat-line-next-input))

;; Shells, commands

;; (my-use-package async-shell
;;   :ensure (async-shell :type git :host github :repo "sgpthomas/async-shell")
;;   :general
;;   (my-leader
;;     "c l" '(async-shell-launch :wk "Run async shell")
;;     "c k" '(async-shell-kill :wk "Kill async shell")
;;     "c r" '(async-shell-rename :wk "Rename async shell")
;;     "c m" '(async-shell-menu :wk "Async Shell menu")))

;; (my-use-package shelldon
;;   :ensure t
;;   :general
;;   (my-leader
;;     "c l" '(shelldon-send-line-at-point :wk "Run line at point")
;;     "c L" '(shelldon-send-region :wk "Run region")
;;     "c h" '(shelldon-output-history :wk "Shelldon history")
;;     "c R" '(shelldon-loop :wk "Shelldon loop")
;;     "c r" '(shelldon :wk "Run shell command"))
;;   :config
;;   (inheritenv-add-advice 'shelldon-async-command)
;;   (inheritenv-add-advice 'start-process-shell-command))

(my-use-package shell-command-x
  :ensure t
  :demand t
  :config
  (shell-command-x-mode 1))

;; (my-use-package run-command
;;   :ensure t
;;   :custom
;;   (run-command-default-runner 'run-command-runner-eat)
;;   :general
;;   (my-leader
;;     "c" '(run-command :wk "Run command"))
;;   :config
;;   (defun run-command-recipe-example ()
;;   (list
;;    ;; Run A simple command
;;    (list :command-name "say-hello"
;;          :command-line "echo Hello, World!"))))


;; MMM mode
;; (my-use-package mmm-mode
;;   :ensure t

Do not follow this link