[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: feature request, shift-enter to inline a newline
From: |
Kerin Millar |
Subject: |
Re: feature request, shift-enter to inline a newline |
Date: |
Thu, 3 Feb 2022 19:05:08 +0000 |
On Thu, 3 Feb 2022 18:40:09 +0100
Alex fxmbsw7 Ratchev <fxmbsw7@gmail.com> wrote:
> as title says, pressing shift enter would produce a newline into all
> instead of send the cmd away
>
> this is handy when editing data around on the terminal ( i saw it well
> working with copypaste )
> and when multiple commands are, like they are already expanded, now
> editing in the middle something somewhat of requires a newline .. but
> sending one errors in sending the whole cmd away
Your terminal emulator would need to treat Shift+Enter differently to begin
with. As an alternative, consider using "edit-and-execute-command" along with
your favourite EDITOR. Normally, this command is bound to C-x C-e. However,
like any other readline command, it can be configured by using the bind builtin.
--
Kerin Millar
- feature request, shift-enter to inline a newline, Alex fxmbsw7 Ratchev, 2022/02/03
- Re: feature request, shift-enter to inline a newline, Greg Wooledge, 2022/02/03
- Re: feature request, shift-enter to inline a newline,
Kerin Millar <=
- Re: feature request, shift-enter to inline a newline, Seth David Schoen, 2022/02/03
- Re: feature request, shift-enter to inline a newline, Chet Ramey, 2022/02/03
- Re: feature request, shift-enter to inline a newline, Dennis Williamson, 2022/02/03