[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: feature request, shift-enter to inline a newline
From: |
Chet Ramey |
Subject: |
Re: feature request, shift-enter to inline a newline |
Date: |
Thu, 3 Feb 2022 14:09:54 -0500 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.4.1 |
On 2/3/22 12:40 PM, Alex fxmbsw7 Ratchev wrote:
as title says, pressing shift enter would produce a newline into all
instead of send the cmd away
Since read(2) doesn't produce a different input character when shift is
used to modify enter, it's not generally possible.
If you can identify or specify a unique character your terminal emulator
produces for shift-enter, you can bind that to "\C-V\C-J" (or \C-M,
depending on your needs).
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/
- 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, 2022/02/03
- 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 <=
- Re: feature request, shift-enter to inline a newline, Dennis Williamson, 2022/02/03