-2

In Sublime Text, I used to be able to hit Option+Up to make text Title case and then hit Option+Up again to switch it to UPPER case, Option+Down will do the same in reverse. Now it doesn't seem to have this feature anymore.

Does anyone know why?

the Tin Man
  • 158,662
  • 42
  • 215
  • 303
Kent Liau
  • 915
  • 15
  • 26

2 Answers2

1

Sublime has options in the Edit > Convert Case menu as well as in the Command Palette under Convert Case: to perform these manipulations, but as far as I've aware they've never been bound to those keys by default. From the sounds of things, you had a plugin or package previously installed that was providing these key bindings for you.

Note also that at least on my Mac, those keys don't trigger any output from sublime.log_input() which is an indication that MacOS is handling and consuming them and not passing them on to Sublime, which means that binding a command to those keys wouldn't work unless the OS was told to leave them alone. That could well be down to different versions of OSX, though.

OdatNurd
  • 21,371
  • 3
  • 50
  • 68
1

I wasn't aware of the shortcuts you were describing, but in Sublime Text 3, you could use:

Cmd+K then Cmd+U: for upper case

Cmd+K then Cmd+L: for lower case

And although there's no keyboard shortcuts for Title Case, you could make one.

the Tin Man
  • 158,662
  • 42
  • 215
  • 303