Re: use 'bind ^J enter main' instead
Yves Goergen <[email protected]>
| Newsgroups | gmane.editors.nano.general |
|---|---|
| Message-ID | <[email protected]> |
Hello Benno,
This finally works fine now, thank you!
Yves
________________________________________
Von: Benno Schulenberg
Gesendet: Mi, 2017-05-17 21:32 +0200
Hello Yves,
On Wed, May 17, 2017, at 21:10, Yves Goergen wrote:
> The unbind config seems to help a bit, but doesn't give me the desired
> result. I've opened the same file on the server and pasted multi-line
> text from the same local file into it. No justify was triggered, no
> unrelated text was inadvertently modified. But the line break wasn't
> pasted as well. The two lines I copied were pasted as one, with no space
> in between. Line breaks seem to be lost in nano.
If linebreaks are lost, then tell nano that ^Js are linebreaks.
Instead of the "unbind ^J main", put this line in your nanorc:
bind ^J Enter main
See also this item in the FAQ:
https://nano-editor.org/dist/latest/faq.html#4.8b
> Can that be made working again?
^Js never caused Enters in nano. If things changed for you,
it must be because your setup changed somehow.
Benno