Search code examples
sublimetext2sublimetext3sublimetextcapitalize

Capitalize selection in Sublime Text


Is there a way to capitalize a selection in Sublime? For example, if I have some text like word, I'd like the output to be Word.

I know that there is already an option to convert case into lower case or upper case, but those would result in word and WORD respectively. Is there a way to only capitalize the first letter?


Solution

  • You can do it using the menu Edit>Convert Case>Title Case.

    In case you want to set a keybinding the name of the associated command is title_case.