Re: Key bindings

Benno Schulenberg <[email protected]> Mon, 25 May 2020 20:08:42 +0200
Newsgroups gmane.editors.nano.general
Message-ID <[email protected]>
Op 25-05-2020 om 14:43 schreef Marcus Rhodes:
> Yes. I see that Ctrl+Home and Ctrl+End work in gnome/mate terminal, as well as
> in xterm, the linux virtual terminals, and even Win10's CMD.EXE. And thank you
> for adding those. I love what you've done with nano. I particularly love the 
> Ctrl+Shift+cursor keys. Well done!

Thanks.  Those are my favorites too.  :)

> But I'm using Win7's CMD.EXE, and it does differ from Win10's.

Ah...  Well, when you're using older software, you can't expect
all the latest things to work.  :)  I'm surprised it works at all
on Windows.

> Also, perhaps Ctrl+Tab and Ctrl+Shift+Tab to cycle through the open
> documents?

When you press M-V <Tab> M-V <Ctrl+Tab>, you will see that both
keystrokes produce the exact same key code (a TAB character, ^I),
so it is impossible for nano to distinguish the two.

When you press M-V <Shift+Ctrl+Tab>, you will see it produces a
distinct key code, but that is of little use when <Ctrl+Tab>
cannot be recognized.

On most emulators you can use also <Alt+Left/Right> to switch
between buffers.

Benno
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEv9AJBh5TUFKtDfIVDSjU0qCs6IQFAl7MCaoACgkQDSjU0qCs
6IT5QA//WfmZO7ctnHR3JG/quTFIaglKmAT02+b6NDNMJCVH0FjJXjBu3nx9eFXo
vibEt+aHhySX5HNIQ74s8nonmCnWJ+GwV8fOxQzcwS4DNlxD/JGE27LqMYa1M3C+
NRGUSF+mWaPGy4Gyrrtz16j95N3vC+KIhp8lpTKKXuOF5NPZh/JxLeI9qZFUi1xR
gla9rQHKETs7UvZrkJfNljkoCc0P1aHt17Lkj1wxgsdtZuuGFjHU1M5C9zbpHLI3
7Zn0Eki9B5L7h1VB8BzST4KqHFMuNWjYZJwf3EZBf5V6btkoQLLEWsCUMooHztK5
wRy3SKHkj4F5Ro/0vPqk5Sxscz1y+4dPi4oDJX+3wn9wQuOptDr+PM8aAIr5HjTU
H+yL7CtWA5+cwx/gBiSRaw8F3BQpLobH8QPds93vSuhUW/1OZ3GcFRL+bf/eNV0Z
GKUAxQAmPdM/4Y8O9fhmP7tHcWLW4xBgoInNZnki6B/aTvcgHXbh5b6u7AefL6po
13P3Gp2dBW6aYnUclaXTGuP7olwG+plsqVm+n9ci++zTWt3ntjF1WbOMLVi2l26S
SFAYRDKYT2Y0/2pjYgwDDJHNAB3vugQerbzVK1fzD5FXQU90l5/Mq2GCtRLep54E
dl/aM5i/TMxbKA4UZQJZ5F3W93q7pYuFNOJaEC1o11qZ29bfEZA=
=H9N5
-----END PGP SIGNATURE-----