about summary refs log tree commit diff
path: root/users/wpcarro/emacs/.emacs.d/wpc/wpc-package.el
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2021-11-08T17·27-0800
committerclbot <clbot@tvl.fyi>2022-01-08T06·00+0000
commit33e3f2f66aff4f2dc33986559b0c0c4516118c91 (patch)
tree58c3d49298ffa594fc0700808c026ba847e3468b /users/wpcarro/emacs/.emacs.d/wpc/wpc-package.el
parent89a5d93b24750fcf7ac2ac634c1c21428b21fa20 (diff)
feat(wpcarro/emacs): Prefer Vim style of word-searching r/3558
In my opinion the following versions of compound words should be searched
similarly...

- `testingThisOut`   (camel case)
- `TestingThisOut`   (class case)
- `testing_this_out` (snake case)
- `testing-this-out` (kebab case)

...but Emacs's default searching treats the snake and kebab cases differently,
which makes it difficult to search for buffer-local occurrences of symbols in
Python, Elisp (among other languages).

This has been bothering me for some time. I must've attempted to fix this awhile
ago by using `setq` (when I should've used `customize-set-variable`, which makes
me wonder: how much of my configuration is flaky because I'm using `setq` where
I should be using `customize-set-variable`?

For more context about this change, see `describe-variable` for
`evil-symbol-word-search`.

Change-Id: Ie03f0da119f59e04abc5de3143aa6edaf6115168
Reviewed-on: https://cl.tvl.fyi/c/depot/+/4804
Tested-by: BuildkiteCI
Reviewed-by: wpcarro <wpcarro@gmail.com>
Autosubmit: wpcarro <wpcarro@gmail.com>
Diffstat (limited to 'users/wpcarro/emacs/.emacs.d/wpc/wpc-package.el')
0 files changed, 0 insertions, 0 deletions