about summary refs log tree commit diff
path: root/users/wpcarro/emacs/pkgs/zle/zle.el
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2022-07-22T02·55-0700
committerclbot <clbot@tvl.fyi>2022-07-28T13·40+0000
commitebbda2484a47054aa16946d40c10130608c6e15a (patch)
tree334b7c97d88576256731196ce54f338cca01d5f7 /users/wpcarro/emacs/pkgs/zle/zle.el
parent3ecf0b9d6997bc85ae712650629adb6a3ab59909 (diff)
feat(wpcarro/emacs): Package zle.el r/4333
The end-goal is to package all of my Elisp libraries. Why?
- More granular builds/tests
- More explicitly defined dependencies
- Separate personal configuration from library code
- Ease distribution

Change-Id: I2507d129d3a0b3bf0cfe70b9790536a8b2093b96
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5969
Tested-by: BuildkiteCI
Reviewed-by: wpcarro <wpcarro@gmail.com>
Autosubmit: wpcarro <wpcarro@gmail.com>
Diffstat (limited to '')
-rw-r--r--users/wpcarro/emacs/pkgs/zle/zle.el (renamed from users/wpcarro/emacs/.emacs.d/wpc/zle.el)11
1 files changed, 5 insertions, 6 deletions
diff --git a/users/wpcarro/emacs/.emacs.d/wpc/zle.el b/users/wpcarro/emacs/pkgs/zle/zle.el
index d4aa88258f..21a6e35f13 100644
--- a/users/wpcarro/emacs/.emacs.d/wpc/zle.el
+++ b/users/wpcarro/emacs/pkgs/zle/zle.el
@@ -72,12 +72,11 @@
 
 (defvar zle-kbds
   (let ((map (make-sparse-keymap)))
-    (bind-keys :map map
-               ("C-j"   . zle-subshell)
-               ("C-v"   . zle-variable)
-               ("C-M--" . zle-dash-dash)
-               ("M-'"   . zle-single-quote)
-               ("M-\""  . zle-double-quote))
+    (define-key map (kbd "C-j") #'zle-subshell)
+    (define-key map (kbd "C-v") #'zle-variable)
+    (define-key map (kbd "C-M--") #'zle-dash-dash)
+    (define-key map (kbd "M-'") #'zle-single-quote)
+    (define-key map (kbd "M-\"") #'zle-double-quote)
     map)
   "Keybindings shaving milliseconds off of typing.")