[Top][All Lists]

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

Re: [Nano-devel] Add function to convert leading whitespace to tabs

From: Benno Schulenberg
Subject: Re: [Nano-devel] Add function to convert leading whitespace to tabs
Date: Mon, 20 Oct 2014 20:40:38 +0200

On Mon, Oct 20, 2014, at 06:25, Ken Tyler wrote:
> On 20 Oct 2014, at 8:46 am, Erik Lundin <address@hidden> wrote:
> > Many times a day i copy code from one terminal to another and this
> > messes up the indenting on some of the lines.

Two different Gnome terminals?  Not simply tabs?  Are they logged in on
different machines?  When not, why not use a single nano to open multiple
files?  And use Alt+> and Alt+< to flip through them?

> A hint, easy way to do this is to mark the text that is to be copied, ^0 to
> write out the marked text to a file (usually “xx”) and then ^R to load the
> written out “xx” file into  the destination nano maintaining tabs and spaces.

When having the two files open with a single nano, copying a block of text
is even quicker: mark the block, M-6, M->, ^U, done.


-- - Access your email from home and the web

reply via email to

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