Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add convert to Title Case #2

Closed
seatrout opened this issue Oct 1, 2021 · 7 comments
Closed

Add convert to Title Case #2

seatrout opened this issue Oct 1, 2021 · 7 comments

Comments

@seatrout
Copy link

seatrout commented Oct 1, 2021

Would it be possible to extend the case conversion routine to change the word to title case, as well as toggling between upper and lower case? It looks as if it should be simple enough.

@timhor
Copy link
Owner

timhor commented Oct 1, 2021

Yep, that's a simple addition. So that we're on the same page though – by title case, do you mean:

  1. Naively capitalising the first character of each word (the programming definition), or
  2. Capitalising the first character of each major word, ignoring words like the, a, an (the publishing definition)?

@seatrout
Copy link
Author

seatrout commented Oct 1, 2021

Either would be great, but I would prefer (2).

My real use case is with single words anyway, because I have and UNcanny ability to hold the shift KEy down one letter too far!

@timhor
Copy link
Owner

timhor commented Oct 2, 2021

Title case has been implemented in 7d47723. You can now also transform case when your cursor is on a word without needing to select it first (07596d2).

@timhor timhor closed this as completed Oct 2, 2021
@seatrout
Copy link
Author

seatrout commented Oct 4, 2021

Thank you. But it doesn't show up as a command to which a hotkey can be attached. The other two case manipulations do.

@timhor
Copy link
Owner

timhor commented Oct 4, 2021

Are you on the latest version v1.1.0?

@seatrout
Copy link
Author

seatrout commented Oct 4, 2021

Ah. No: I wasn't. I installed yesterday morning (GMT) and you obviously upgraded in the last 24 hours. Thanks!

@timhor
Copy link
Owner

timhor commented Oct 4, 2021

All good! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants