Skip to content

Commit

Permalink
feat(tools): add with-editor
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed Nov 10, 2023
1 parent 4efaf20 commit 8ae2ed8
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions modules/me-tools.el
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,14 @@
"cs" #'chezmoi-sync-files
"cg" #'chezmoi-magit-status))

(use-package with-editor
:straight t
:hook ((shell-mode eshell-mode term-exec vterm-mode) . with-editor-export-editor)
:hook ((shell-mode eshell-mode term-exec vterm-mode) . with-editor-export-hg-editor)
:hook ((shell-mode eshell-mode term-exec vterm-mode) . with-editor-export-git-editor)
:bind (("<remap> <async-shell-command>" . with-editor-async-shell-command)
("<remap> <shell-command>" . with-editor-shell-command)))


(provide 'me-tools)

Expand Down

0 comments on commit 8ae2ed8

Please sign in to comment.