howl-editor / howl

The Howl Editor
http://howl.io
Other
712 stars 68 forks source link

Allow selecting all (ctrl+a) in terminal #429

Closed ghost closed 6 years ago

ghost commented 6 years ago

Title kind of says it all. I often find myself wanting to be able to press ctrl+a in the the terminal.

shalabhc commented 6 years ago

By 'terminal' I believe you mean the command line? This should be easy enough to add.

ghost commented 6 years ago

That is correct @shalabhc

shalabhc commented 6 years ago

@sci4me can you try out https://github.com/howl-editor/howl/tree/command_line_ctrl_a to see if it works?

ghost commented 6 years ago

@shalabhc It works for me

shalabhc commented 6 years ago

@nilnor brought up a good point on gitter: should ctrl_a move cursor to the start of the text instead?

I think at least some people would expect that to happen, it's the standard shortcut in most shells. What do you think of making ctrl_shift_a as the select all shortcut instead?

ghost commented 6 years ago

@shalabhc Doesn't the HOME key bring the cursor to the start of the text?

I don't know, it seems more useful and natural to me for ctrl_a to be for select all but as long as it's configurable...

shalabhc commented 6 years ago

OK, this is now merged - ctrl_a should select all in the command line.