about summary refs log tree commit diff
path: root/configs
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2019-04-08T16·17+0100
committerWilliam Carroll <wpcarro@gmail.com>2019-04-08T16·17+0100
commit79ef9e0c632f05e43f3cf530b2be14591ddddc34 (patch)
treed12629fb4d5e134e5fe6cfd45bb1662f1ba1c6ab /configs
parent7d2bfc8a282d88ad66becb680bc9632d097f65c6 (diff)
Drop support for extending Emacs's default word regex
This was causing problems with my Emacs initialization. I don't have time to
troubleshoot, so I'm removing this for now.
Diffstat (limited to 'configs')
-rw-r--r--configs/shared/emacs/.emacs.d/wpc/packages/wpc-keybindings.el9
1 files changed, 0 insertions, 9 deletions
diff --git a/configs/shared/emacs/.emacs.d/wpc/packages/wpc-keybindings.el b/configs/shared/emacs/.emacs.d/wpc/packages/wpc-keybindings.el
index 2d67a72a5647..9c04a1415380 100644
--- a/configs/shared/emacs/.emacs.d/wpc/packages/wpc-keybindings.el
+++ b/configs/shared/emacs/.emacs.d/wpc/packages/wpc-keybindings.el
@@ -16,15 +16,6 @@
   (setq evil-want-integration nil)
   (general-evil-setup)
   :config
-  ;; ensure [_-] are part of \w character set
-  ;; Note: there must be a better way to accomplish this.
-  (progn
-    ;; underscore
-    (modify-syntax-entry ?_ "w" sh-mode-syntax-table)
-
-    ;; dash
-    (modify-syntax-entry ?- "w" sh-mode-syntax-table)
-    (modify-syntax-entry ?- "w" emacs-lisp-mode-syntax-table))
   (general-mmap
     :keymaps 'override
     "RET" #'evil-goto-line