about summary refs log tree commit diff
path: root/users
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2022-07-30T18·19-0700
committerclbot <clbot@tvl.fyi>2022-08-01T17·39+0000
commit6882b9575865c407d22386da065a370fdbc80396 (patch)
tree84326469e58e34fe7ac94ffabd79e6d389bd0a3d /users
parent081742a07e7bf438655b390f46e0ce103a0b0e55 (diff)
feat(wpcarro/emacs): Package vterm-mgt.el r/4363
Pretty useful (but still needs some polishing) library for working with `vterm`,
which I use on a daily basis.

Change-Id: Ic6693f52ad9b16b0b4dd1338aedeeccd6ff15379
Reviewed-on: https://cl.tvl.fyi/c/depot/+/6017
Reviewed-by: wpcarro <wpcarro@gmail.com>
Autosubmit: wpcarro <wpcarro@gmail.com>
Tested-by: BuildkiteCI
Diffstat (limited to 'users')
-rw-r--r--users/wpcarro/emacs/default.nix1
-rw-r--r--users/wpcarro/emacs/pkgs/vterm-mgt/default.nix18
-rw-r--r--users/wpcarro/emacs/pkgs/vterm-mgt/vterm-mgt.el (renamed from users/wpcarro/emacs/.emacs.d/wpc/vterm-mgt.el)0
3 files changed, 19 insertions, 0 deletions
diff --git a/users/wpcarro/emacs/default.nix b/users/wpcarro/emacs/default.nix
index 99b18d8f9729..be79884b46ba 100644
--- a/users/wpcarro/emacs/default.nix
+++ b/users/wpcarro/emacs/default.nix
@@ -33,6 +33,7 @@ let
       string
       struct
       symbol
+      vterm-mgt
       zle
     ]) ++
 
diff --git a/users/wpcarro/emacs/pkgs/vterm-mgt/default.nix b/users/wpcarro/emacs/pkgs/vterm-mgt/default.nix
new file mode 100644
index 000000000000..c97e54e719a2
--- /dev/null
+++ b/users/wpcarro/emacs/pkgs/vterm-mgt/default.nix
@@ -0,0 +1,18 @@
+{ pkgs, depot, ... }:
+
+pkgs.callPackage
+  ({ emacsPackages }:
+  emacsPackages.trivialBuild {
+    pname = "vterm-mgt";
+    version = "1.0.0";
+    src = ./vterm-mgt.el;
+    packageRequires =
+      (with emacsPackages; [
+        dash
+        vterm
+      ]) ++
+      (with depot.users.wpcarro.emacs.pkgs; [
+        cycle
+      ]);
+  })
+{ }
diff --git a/users/wpcarro/emacs/.emacs.d/wpc/vterm-mgt.el b/users/wpcarro/emacs/pkgs/vterm-mgt/vterm-mgt.el
index 29c24d89ec9c..29c24d89ec9c 100644
--- a/users/wpcarro/emacs/.emacs.d/wpc/vterm-mgt.el
+++ b/users/wpcarro/emacs/pkgs/vterm-mgt/vterm-mgt.el