Sublime Forum

Pressing TAB changes case of previous word

#1

I’ve got a problem that I can’t track down. While editing my SSH configuration file, I might type something like this (The | indicates where the cursor is):

host dev hostname|192.168.0.1

Whenever I press tab the value of “hostname” gets converted to camel case “HostName”:

host dev HostName|192.168.0.1

This is really annoying, as I’m trying to indent the IP address after hostname correctly. How would I go about finding out what package/key binding is causing this annoying behaviour?

0 Likes

#2

Crap, I just figured out why it was changing case. In the configuration file, there was another instance of “HostName”, so when I press tab it switches between the two. If I add a third “hostName”, then it cycles between the three options.

So, my question is, how do I prevent the tab key from doing this?

0 Likes

#3

But i think IP is not the reason

0 Likes

#4

Add this to your user file settings:

"tab_completion": false,

0 Likes