https://github.com/knu/replace-with-inflections.el
Provides query-replace-names-with-inflections
https://github.com/knu/replace-with-inflections.el
Last synced: about 1 year ago
JSON representation
Provides query-replace-names-with-inflections
- Host: GitHub
- URL: https://github.com/knu/replace-with-inflections.el
- Owner: knu
- License: bsd-2-clause
- Created: 2017-09-07T11:25:01.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2024-01-22T09:29:24.000Z (over 2 years ago)
- Last Synced: 2025-01-26T01:41:47.975Z (over 1 year ago)
- Language: Emacs Lisp
- Homepage:
- Size: 8.79 KB
- Stars: 6
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# replace-with-inflections.el
This package currently provides the following function:
* `query-replace-with-inflections`
This is an "inflection" aware version of `query-replace`. For
example, replacing `foo_bar` with `baz_quux` will also replace
`foo_bars` with `baz_quuxes`, `FooBar` with `BazQuux`, `FOO_BAR` with
`BAZ_QUUX`, and so on.
Read the docstring for details.
## References
For the term "inflection", refer to the following packages which this
library depends on:
* [inflections](https://github.com/eschulte/jump.el)
* [string-inflection](https://github.com/akicho8/string-inflection)
## Installation
This package is available on [MELPA](http://melpa.org/#/replace-with-inflections)/[MELPA Stable](http://stable.melpa.org/#/replace-with-inflections)
```
M-x package-install replace-with-inflections
```
## Configuration
Here's my suggested settings:
```elisp
(define-key search-map "n" 'query-replace-with-inflections)
```
## Author
Copyright (c) 2017-2024 Akinori MUSHA.
Licensed under the 2-clause BSD license. See `LICENSE.txt` for
details.
Visit [GitHub Repository](https://github.com/knu/replace-with-inflections.el)
for the latest information.