[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Nano-devel] [RFC] is it time to break free from the Pico defaults
From: |
David Niklas |
Subject: |
[Nano-devel] [RFC] is it time to break free from the Pico defaults |
Date: |
Tue, 1 Jan 2019 17:24:21 -0500 |
On Mon, 31 Dec 2018 12:00:25 -0500
Benno Schulenberg <address@hidden> wrote:
> Op 29-12-18 om 05:23 schreef David Niklas:
> > After thinking about it, the only change I ever *really* wished nano
> > would make to the key bindings was that ^Y and ^U should operate like
> > in a shell (readline Yank and paste).
>
> You can make those yourself, in your nanorc:
>
> bind ^C cut main
> bind ^V paste main
> bind ^U "^M^B^C" main
> bind ^K "^M^C^B" main
> bind ^Y "^V^H" main
>
> The things between quotes are actual control codes,
> enter them by typing:
> M-V ^M M-V ^B M-V ^C
> and so on.
>
> Because this rebinds ^K and ^U, you first have to rebind the
> cut and paste functions. You probably don't want to rebind ^X,
> so I've bound it to the unusual ^C. It shouldn't matter, as
> you won't be using ^C, you will be using ^U and ^K instead.
>
> > But ^Y is used for page up and some very tiny keyboards don't come
> > with a dedicated page up key (Grumble. grumble.)
>
> If you do have arrow keys you don't need ^P and ^N, and could
> rebind those to prevpage and nextpage.
>
> Benno
Thanks Benno! I have been using the defaults on purpose so that I don't
start expecting something different from a machine that is not mine.
But in this case it is getting rather old...
David
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Nano-devel] [RFC] is it time to break free from the Pico defaults,
David Niklas <=