Sublime Forum

How do you customize hotkeys?

#1

How do you customize hotkeys? I opened sublime keymap text file, using preferences --> keybinding, and when I try to edit:

{ “keys”: [“ctrl+shift+[”], “command”: “fold” },
{ “keys”: [“ctrl+shift+]”], “command”: “unfold” },

It won’t let me edit the key text to change it?

WHAT IS THIS? hahahah: https://www.sublimetext.com/docs/key_bindings.html … Is this for real? No where in that entire explanation does it simply tell you how to change the damn hotkey. facepalm

keywords: hotkey customization customizing custom keys hotkeys

0 Likes

#2

OMFG. You have to actually copy and paste the hotkey text you want from the left window into the right window. hahahah… SERIOUSLY? ahhah. Oh boy, that’s hilarious.

EDIT the right hand window text so it looks like this:

[
{ “keys”: [“f1”], “command”: “fold” },
]

Then save it.

I feel like an inefficient linux user messing around in DOS… too funny.

1 Like

#3

Reading between the lines (and I very much am) (so forgive me if I’m going totally off piste here) this is you’re first use of ST (or very recent experience) ?

I was very much used to having a GUI or a set of menus to configure stuff (and perhaps this is the norm, I’d be interested to hear) on my software until Sublime Text…

As far as I can tell the reason Sublime Text is the way it is (and I’m sure someone on the team will correct me) is that there’s only six of them. It’s not open source, there isn’t millions of dollars or thousands of devs, thus there just isn’t the manpower to write a GUI/menu for everything (almost anything :stuck_out_tongue_winking_eye:).

So what we have is the equivalent of an empty house, it’s up to the user to furnish it, because there is limited resources (time and money at STHQ).

I’m guessing that’s why the plugins exist (Package Control and the like), because the core team just doesn’t have the time to write all that functionality. So they got a load of other folks to do it.

ST does quite a lot out of the box but it’s not perfect; I have had my battles, I’ve posted on this forum nearly 400 times, most of the time I get an answer, most of the time there’s a solution. There’s been some really cool solutions.
I think it’s a coders editor, once you get into it is very powerful and almost totally configurable in any way. It’s kind of similar to a Linux Operating system, you can do anything you want with it, but it’s up to you to do it.

If you want to learn Python and some other ancillary stuff this is your editor !
I’m hoping I can turn it into a full blown IDE eventually (this might be easy, or not) which for a Text Editor isn’t bad…

But you have to do all that customisation yourself (or copy and paste a lot from SO or this forum)

Good luck

Ps Also there’s no dedicated customer support, I guess they’re not earning enough…

Pps Assuming I’m not barking up the wrong tree completely I can post a list of the Packages I’ve downloaded, what they do, so stuff to get you going. There’s going to be a bit of reading. I visit this site once every two days, though that’s gonna stop (paid work, non computing), but there are better minds than mine on this forum…

0 Likes