Closed maximbaz closed 12 months ago
It is common behavior of Ctrl+U to delete line backwards, so I wanted to have support for it in gurk.
The desired behavior is as following. Given text (cursor indicated as |):
|
aaaaaaaaaaaa bbbbbbbbbbbb ccccccc|ddddd
Pressing Ctrl+U should result into:
Ctrl+U
aaaaaaaaaaaa bbbbbbbbbbbb |ddddd
Pressing again should result into:
aaaaaaaaaaaa bbbbbbbbbbbb|ddddd
Then:
aaaaaaaaaaaa |ddddd
aaaaaaaaaaaa|ddddd
|ddddd
Further presses of Ctrl+U would have no effect.
Let me know if it makes sense!
It fits very nicely to Ctrl+k. Thank you for the implementation.
Ctrl+k
It is common behavior of Ctrl+U to delete line backwards, so I wanted to have support for it in gurk.
The desired behavior is as following. Given text (cursor indicated as
|
):Pressing
Ctrl+U
should result into:Pressing again should result into:
Then:
Then:
Then:
Further presses of
Ctrl+U
would have no effect.Let me know if it makes sense!