help-nano
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-nano] use 'bind ^J enter main' instead


From: Benno Schulenberg
Subject: Re: [Help-nano] use 'bind ^J enter main' instead
Date: Wed, 17 May 2017 21:32:46 +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

-- 
http://www.fastmail.com - Same, same, but different...




reply via email to

[Prev in Thread] Current Thread [Next in Thread]