Sublime Forum

Use comma as a prefix in keybinding

#1

Hey there,

I want to emulate the keybindings from my vim configuration in Sublme, so that switching from Sublime<>Vim becomes more transparent and less painful. As of now, I have two keybindings I’d like to emulate:

,f and ,b. (,f and ,b)

I’ve tried to use the following configuration in the User sublime-keymap file:

{ "keys": "comma+f"], "command": "show_overlay", "args": {"overlay": "goto", "show_files": true} },
{ "keys": "comma+b"], "command": "show_overlay", "args": {"overlay": "goto", "show_files": true} }

]

But it doesn’t work. using “,+f” also doesn’t work. Any ways to set “,” as key prefix there?

Using Sublime Text 3, just downloaded today.

Thanks!

0 Likes

#2

I do not think this is possible. What you could do instead is "keys": ",", "f"], which is similar to what you want but not the same.

0 Likes

#3

This works fine, thanks!

0 Likes