about summary refs log tree commit diff
path: root/users/wpcarro/emacs/.emacs.d/wpc
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2021-11-09T05·47-0800
committerclbot <clbot@tvl.fyi>2022-01-08T06·10+0000
commitdf9a698c096f04c8a70e64e287cd6ba91b6d5b4b (patch)
tree36cd969937e8edbbbed1e572d29dde989eb6f446 /users/wpcarro/emacs/.emacs.d/wpc
parent5b1864422f6fc81c3b32b094dcb88023ceab9e09 (diff)
fix(wpcarro/emacs): Disable edebug's "h" KBD r/3563
...so that I can move left while debugging.

Change-Id: I7124da76dc51b0b5ca22a7e4a13482fc8da30150
Reviewed-on: https://cl.tvl.fyi/c/depot/+/4811
Tested-by: BuildkiteCI
Reviewed-by: wpcarro <wpcarro@gmail.com>
Autosubmit: wpcarro <wpcarro@gmail.com>
Diffstat (limited to 'users/wpcarro/emacs/.emacs.d/wpc')
-rw-r--r--users/wpcarro/emacs/.emacs.d/wpc/keybindings.el11
1 files changed, 11 insertions, 0 deletions
diff --git a/users/wpcarro/emacs/.emacs.d/wpc/keybindings.el b/users/wpcarro/emacs/.emacs.d/wpc/keybindings.el
index a90da9af5975..36161438956f 100644
--- a/users/wpcarro/emacs/.emacs.d/wpc/keybindings.el
+++ b/users/wpcarro/emacs/.emacs.d/wpc/keybindings.el
@@ -48,6 +48,7 @@
 (require 'evil-commentary)
 (require 'evil-surround)
 (require 'key-chord)
+(require 'edebug)
 
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 ;; General Keybindings
@@ -380,6 +381,16 @@
  "<SPC>" #'buffer-show-previous
  "k" #'kill-buffer)
 
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+;; edebug
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+(general-define-key
+ :states '(normal)
+ :keymaps '(edebug-mode-map)
+ ;; this restores my ability to move-left while debugging
+ "h" nil)
+
 ;; Install KBDs like <SPC>jb to search through my monorepo.
 (bookmark-install-kbds)