Shift-Enter: No new lines


#1

Short, sweet, simple.
In other editors, I enjoy holding shift as I make multi-line comments in the format with an asterisk beginning each line. The easiest way I’ve found without using keybinds is to hold shift and press * then enter repeatedly. It seems that holding shift disables the newline that enter would normally create. Am I missing something?


#2

You can always find out what a certain key combination is mapped to by using the keybinding resolver (cmd-.). On my system shift-enter is not mapped to anything. If you want it to do the same thing as enter, you could add this to your keybinding file:

'.editor:not(.mini)':
  'shift-enter': 'editor:newline'

#3

Thank you! I’ll give that a try.