https://github.com/arecarn/vim-operator-mixed-case
https://github.com/arecarn/vim-operator-mixed-case
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/arecarn/vim-operator-mixed-case
- Owner: arecarn
- License: wtfpl
- Created: 2015-01-29T20:19:17.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2016-12-20T18:26:08.000Z (over 9 years ago)
- Last Synced: 2026-01-14T21:56:25.455Z (6 months ago)
- Language: VimL
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
operator-mixed-case
===================
A simple operator in the same spirit of |gu| and |gU| operators that makes the
text is operates on mixed case (or title case). The operator tries to be
somewhat smart about how it does the mix casing with special attention for
apostrophes in word like don't and tom's
Example of Mix Casing:
that's a cool hat
Becomes:
That's A Cool Hat
Usage
-----
| Mode | Key Mapping | Description |
| ------ | ----------- | --------------------------------- |
| normal | gM{motion} | Make {motion} text mixed case. |
| normal | gMM | Make current line mixed case. |
| visual | gM | Make highlighted text mixed case. |