diff options
| author | Yuchen Pei <id@ypei.org> | 2026-11-22 10:26:42 +1100 |
|---|---|---|
| committer | Yuchen Pei <id@ypei.org> | 2026-11-22 10:26:42 +1100 |
| commit | 48095cf5711ecb5f9bd623da51a7159e5a6d6e49 (patch) | |
| tree | 6a7325a12e9bdece39846ea5aebac35eba2da489 | |
| parent | d6c428f0c81903f7faef0f1ba64bf492f329a662 (diff) | |
[emacs] Add vterm
| -rw-r--r-- | .gitmodules | 3 | ||||
| -rw-r--r-- | emacs/.emacs.d/init/ycp-prog.el | 7 | ||||
| m--------- | emacs/.emacs.d/lisp/emacs-libvterm | 0 |
3 files changed, 10 insertions, 0 deletions
diff --git a/.gitmodules b/.gitmodules index dc001a5..19e6209 100644 --- a/.gitmodules +++ b/.gitmodules @@ -127,3 +127,6 @@ [submodule "emacs/.emacs.d/lisp/ttrss.el"] path = emacs/.emacs.d/lisp/ttrss.el url = https://g.ypei.me/ttrss.el.git +[submodule "emacs/.emacs.d/lisp/emacs-libvterm"] + path = emacs/.emacs.d/lisp/emacs-libvterm + url = https://github.com/akermu/emacs-libvterm diff --git a/emacs/.emacs.d/init/ycp-prog.el b/emacs/.emacs.d/init/ycp-prog.el index f74e339..e50c5dd 100644 --- a/emacs/.emacs.d/init/ycp-prog.el +++ b/emacs/.emacs.d/init/ycp-prog.el @@ -561,5 +561,12 @@ (my-package nroff-mode (add-to-list 'auto-mode-alist '("\\.mdoc\\'" . nroff-mode))) +(my-package vterm + (:delay 60) + (my-keybind vterm-mode-map + "C-`" 'vterm-copy-mode) + (my-keybind vterm-copy-mode-map + "C-`" 'vterm-copy-mode)) + (provide 'ycp-prog) ;;; ycp-prog.el ends here diff --git a/emacs/.emacs.d/lisp/emacs-libvterm b/emacs/.emacs.d/lisp/emacs-libvterm new file mode 160000 +Subproject 6d715a93fa0e5182bc137d4db09f376e06938aa |
