Support holding Ctrl+Enter to create multiple new lines #5745
Replies: 12 comments
-
I holded Enter in linux-gtk2 + qt5 versions - it made 20 empty lines! |
Beta Was this translation helpful? Give feedback.
-
Doesn't work, creates a single line. Both in my main Cuda and in the Flatpak version.
Assign to what? I expect holding Ctrl+Enter should create multiple new lines by default, as it is in other editors, but it does nothing. |
Beta Was this translation helpful? Give feedback.
-
May depend on OS keyboard settings, e.g. key-repeating setting , no?
|
Beta Was this translation helpful? Give feedback.
-
Key repeating is enabled. If I hold a printable key, like |
Beta Was this translation helpful? Give feedback.
-
Because Ctrl+Enter is not assigned in the Cmd Palette. Shift+Enter is assigned there. How can we support Ctrl+Enter w/o assigning it? |
Beta Was this translation helpful? Give feedback.
-
Could be default as it is for other editors. Tested VSCode, Sublime and Kate, all of them work. |
Beta Was this translation helpful? Give feedback.
-
Do they have Shift+Enter support? does it repeat newlines? if yes, use Shift+Ent. if no, from where did I take Shift+En hotkey, I don't remember but I copied some other app. |
Beta Was this translation helpful? Give feedback.
-
OK, so Shift+Enter works in Cuda by default. Shift+Enter also works in other editors. The only difference here is that Cuda doesn't assign Ctrl+Enter by default, unlike others. |
Beta Was this translation helpful? Give feedback.
-
We have a reason to not assign it- we have only 2 places. hotkey1, hotkey2. Enter / Shift+Enter. hardcode Ctrl+Enter? bad. user may want it for plugins. |
Beta Was this translation helpful? Give feedback.
-
Not hardcode, could be changed by user, but could be assigned by default for consistency as users coming from other editors might be used to that shorcut. |
Beta Was this translation helpful? Give feedback.
-
I have no slots for hotkey3 (Ctl+Enter), 2 slots are busy for Enter / Shift-Enter. |
Beta Was this translation helpful? Give feedback.
-
@pintassilgo I use RJ TextEd and Ctl+Enter or Shift-Enter do not work. |
Beta Was this translation helpful? Give feedback.
-
I just realized Cuda is unable to create multiple empty lines by holding Enter. I thought it was a bug, but then I realized other editors behave the same.
But these other editors still have a way to manually create multiple new lines with tap-and-hold: Ctrl+Enter. But in Cuda this shortcut does nothing.
Beta Was this translation helpful? Give feedback.
All reactions