Re: Bindings

Benno Schulenberg <[email protected]> Fri, 10 Apr 2020 17:36:50 +0200
Newsgroups gmane.editors.nano.general
Message-ID <[email protected]>
[Please answer to the list, not to me.]

Op 10-04-2020 om 13:10 schreef semi colon:
> Hi! I wanted to bind ^Up to go to the end of a document, and ^Down to go to
> the bottom.

^Home and ^End go to the top and bottom of the file, like in several
other editors.

> Additionally, is it possible to add binds to backspace?
In general, no.  It depends on your terminal.  If in nano you type:
M-V <Backspace>  and  M-V <Ctrl+Backspace>, and they produce different
codes (in my case: ^? and ^H), then you can bind <Ctrl+Backspace> to
some function by rebinding ^H.  For example: bind ^H chopwordleft main.

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

iQIzBAEBCgAdFiEEv9AJBh5TUFKtDfIVDSjU0qCs6IQFAl6QkpMACgkQDSjU0qCs
6ITFLA//a427EufzDf2ox7WFN4HQ3y70uWR4XvjAdwrQiCJ8f4kXunjDhgv3yRMM
wSLGt4MDc9iHY6wOTgLUzNiEHnBYWx/CPzAlLfq1uzdFHcbtrxoin/ST1VYhMfiZ
zQE2wZrkjFn3zmFOB0KLkVQMrUl8zECv5Zqtuk125Q62JIHRIoVEM7TkCaV3Cz3O
wzYJHwuR3tYLmh9ifviR/IvxvXib+Rtux2uPwa0hnSe67/kfdSKKgGyAooVt1ek4
BWQDvAA9+iD9G6HBHryoKvpOl7wu+FZscjBtzTW7fuUS4s18RcJzxpibXbpJ7Iib
lgHVbPTKnBqdnwq8Ky1G0wL5xVJTng8I2b0DSFblRZG8iInBnG2x91lReO1EpNHn
o8cpF0nQdOQq3oD7P3Iv+JNSaOaH1FQT2+YfXnyC9rOoVr7fTGVbOmbyLOQiPyp6
G6Fk3+xaxb7tn+XeZ3gfzOBcu7il+ylfHpyKKYHwB2z9YQfMu7FPC2EsXbiJ4ucT
Da3aK/fDjKkVaEDSSKFzhBlInN0jkZZmhWms1xKZgqyYLQFB0vcTgdKxE954pGLW
fp/ajzTx0DrZ4EtE8M/6gOwFxbgnPNnJgsEEx8zQbC1CzbUrM3kZfP2Uut+JVRVw
jAbf9sOUVCO+OTEmfaaF/F9UiLiz5+G1YrYD/Jl8zuHjs5KWxCk=
=BYsc
-----END PGP SIGNATURE-----