[emacs] Add agent and opencode opens
This commit is contained in:
@ -55,6 +55,21 @@
|
||||
(pop-to-buffer buf)
|
||||
(vterm-send-string "hrdjsh\n")))
|
||||
|
||||
;; Open Cursor Agent term popup (vterm with agent)
|
||||
(defun powellc/open-cursor-agent ()
|
||||
"Open a vterm popup and run agent."
|
||||
(interactive)
|
||||
(let ((buf (vterm t)))
|
||||
(pop-to-buffer buf)
|
||||
(vterm-send-string "agent\n")))
|
||||
|
||||
;; Open Opencode Agent term popup (vterm with opencode)
|
||||
(defun powellc/open-opencode-agent ()
|
||||
"Open a vterm popup and run agent."
|
||||
(interactive)
|
||||
(let ((buf (vterm t)))
|
||||
(pop-to-buffer buf)
|
||||
(vterm-send-string "opencode\n")))
|
||||
|
||||
(load! "+django-tests")
|
||||
(map! :after python
|
||||
@ -86,7 +101,11 @@
|
||||
:desc "isort buffer" "I" #'py-isort-buffer
|
||||
:desc "Links in buffer" "l" #'ace-link-org)
|
||||
(:prefix "o"
|
||||
:desc "Open Hungryroot shell" "S" #'powellc/open-hr-term))
|
||||
:desc "Open curosr shell" "C" #'powellc/open-cursor-agent
|
||||
:desc "Open curosr shell" "c" #'powellc/open-opencode-agent
|
||||
:desc "Open Hungryroot shell" "S" #'powellc/open-hr-term)
|
||||
(:prefix "g"
|
||||
:desc "PR comments for branch" "c" #'powellc/gh-pr-comments-for-branch))
|
||||
|
||||
(defun unfill-paragraph ()
|
||||
"Takes a multi-line paragraph and makes it into a single line of text."
|
||||
|
||||
Reference in New Issue
Block a user