An open API service indexing awesome lists of open source software.

https://github.com/arecarn/vim-operator-mixed-case


https://github.com/arecarn/vim-operator-mixed-case

Last synced: 6 months ago
JSON representation

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. |