Add tools/term & multi-term (WIP)
This commit is contained in:
parent
3edd12a650
commit
d4bbb7e4e6
3 changed files with 29 additions and 0 deletions
16
modules/tools/term/autoload.el
Normal file
16
modules/tools/term/autoload.el
Normal file
|
@ -0,0 +1,16 @@
|
|||
;;; tools/term/autoload.el
|
||||
|
||||
;;;###autoload
|
||||
(defun +term ()
|
||||
(interactive)
|
||||
(call-interactively 'multi-term))
|
||||
|
||||
;;;###autoload
|
||||
(defun +term/popup ()
|
||||
(interactive)
|
||||
(require 'multi-term)
|
||||
(let* ((buffer (multi-term-get-buffer current-prefix-arg))
|
||||
(window (doom-popup-buffer buffer :popup t :align t :size 25 :select t :autokill t :noesc t)))
|
||||
(select-window window)
|
||||
(setq multi-term-buffer-list (nconc multi-term-buffer-list (list buffer)))
|
||||
(multi-term-internal)))
|
Loading…
Add table
Add a link
Reference in a new issue