about summary refs log tree commit diff
path: root/emacs
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2020-03-20T12·12+0000
committerWilliam Carroll <wpcarro@gmail.com>2020-03-20T12·12+0000
commit117f0be7c2dee368944263ebe482a397acc7ea55 (patch)
treec63916632e275ca7473e062a2e0006da95a79206 /emacs
parentd0d77baafb53d9cd2e18cc982368e484efb1b860 (diff)
Unbind <SPC> in evil's motion map
By default this just advances the point one character, which I don't use nor
want especially because my leader key is the space key.
Diffstat (limited to 'emacs')
-rw-r--r--emacs/.emacs.d/wpc/wpc-keybindings.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs/.emacs.d/wpc/wpc-keybindings.el b/emacs/.emacs.d/wpc/wpc-keybindings.el
index 595cb8793dab..c5306f08dc6a 100644
--- a/emacs/.emacs.d/wpc/wpc-keybindings.el
+++ b/emacs/.emacs.d/wpc/wpc-keybindings.el
@@ -74,7 +74,7 @@
            (interactive)
            (let ((xref-prompt-for-identifier nil))
              (call-interactively #'xref-find-references))))
-  (general-unbind 'motion "M-." "C-p")
+  (general-unbind 'motion "M-." "C-p" "<SPC>")
   (general-unbind 'normal "s"   "M-." "C-p" "C-n")
   (general-unbind 'insert "C-v" "C-d" "C-a" "C-e" "C-n" "C-p" "C-k")
   (setq evil-symbol-word-search t)