nano-devel
[Top][All Lists]
Advanced

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

Re: [Nano-devel] [RFC] Quick switch between open buffers


From: Benno Schulenberg
Subject: Re: [Nano-devel] [RFC] Quick switch between open buffers
Date: Mon, 6 Nov 2017 21:01:05 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0


Op 02-11-17 om 07:38 schreef Marco Diego Aurélio Mesquita:
When using nano to edit more than just a few files, switching linearly between
them soon becomes boring.

The attached patch implements a fast way to switch between open buffers. Hit
^R ^O to use it. It opens the browser showing only current open buffers. This
way you can easily and quickly choose which of the current open buffers you
want to switch to.

Interesting.  But... I don't want to make nano into an aspiring IDE.

The choice of ^R ^O is odd, since the user does not want to *read* or
insert anything, but instead wants to jump.  So it would be better to
bind the function directly to a key.  But as we're running out of keys,
maybe simply provide a bindable function and let the needy user do the
binding.

Your patch will be much more maintainable if you don't change any lines
that don't *need* to be changed.  Meaning: don't change any indentation.
Look at the output of 'git log -p -w' for your commit.  That is what
your patch should look like.

Benno




reply via email to

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