Sublime Forum

Variables in keybindings

#1

Suppose I want to define a series of keybindings with the same structure, like a,b, `c
and so on. Is it possible to define a variable and use it in my binding definitions
instead of using a backtick explicitly? so that, if at a second time I decide to
change to a different character, I am not forced to change all my definitions.

Is this possible? and is this advisable or performance issues might arise?

Piero

0 Likes

#2

The key binding files are just plain JSON, so there’s no capability to use variables.

0 Likes