Sublime Forum

Keybinding with plus

#1

Since the last 15 years I’m used to duplicate a line with the keybinding alt+plus. This does not work in sublime.

Is there any reason for sublime to reject the key ‘plus’ at keybindings ?

regards
/tk

0 Likes

#2

Hmm, I know that I can take another key. But this is not the answer to my question.

I cannot image why the key plus is disabled.

/tk

0 Likes

#3

well,l it is official, look at: sublimetext.com/beta at 20080925 Changelog

i don’t know why though…

0 Likes

#4

Ok, I use AutoHotKey to enable the keys on keypad.
[keypad plus] results in [ctrl+c] and [keypad enter] results in [ctrl+v]. I use this keybinding since 1991 with different editors.

What I’m looking for is the key with the + on it which is not on the keypad. I asume it will be a job for AutoHotKey to bind [alt+plus].

thank you

0 Likes

#5

This is fixed now in the latest beta

0 Likes

#6

I’m sorry, but for me it doesn’t work.

  • I made a fresh install with todays beta

  • I edited Default.sublime-keymap

  • I added

  • and

  • “ctrl+plus” does nothing,

  • “alt+plus” gives some noise

What did I miss?

P.S.: I’m happy that you do some polish on sublime-text :smiley:

0 Likes

#7
works...
0 Likes

#8

yes, and surprisingly “keypad_plus” without modifier is not supported.
:confused:

0 Likes

#9

You can bind to the character equivalent, ‘+’ if you want to bind it without the modifier. The details of why it’s setup this way are long and byzantine, but in short it involves the way windows input handing and button to character mapping works, and what Sublime needs to do to support multi-key bindings.

0 Likes