Re: Key bindings
Marcus Rhodes <[email protected]> Mon, 25 May 2020 08:43:37 -0400
| Newsgroups | gmane.editors.nano.general |
|---|---|
| Message-ID | <[email protected]> |
Thanks, Benno. 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! But I'm using Win7's CMD.EXE, and it does differ from Win10's. Also, perhaps Ctrl+Tab and Ctrl+Shift+Tab to cycle through the open documents? -- From: Benno Schulenberg <[email protected]> To: [email protected] Cc: Marcus Rhodes <[email protected]> Subject: Re: Key bindings Date: Mon, 25 May 2020 09:22:54 +0200 Op 24-05-2020 om 20:10 schreef Marcus Rhodes:Is there any way to bind Ctrl and navigation keys such as home, end, etc.? I'dlike to use the same keystrokes that work with most other editors, like Ctrl+Hometo jump to the first line, Ctrl+End to jump to the last line, etc. If not, can weget that added to a pending features list? What version of nano are you using? Since nano-2.8.1 Ctrl+Home and Ctrl+Endshould already do what you want them to do. If that is not the case, whatterminal/emulator are you using? It ought to work fine at least on xterm,on all VTE-based emulators (like Gnome Terminal and Xfce Terminal), and onthe Linux console. It does not work on the BSD consoles. To answer your question: nano does not provide a mechanism to rebind anyof the dedicated cursor-movement keys (with or without Shift/Ctrl/Alt).There are no plans to make this possible. Benno Marcus -----Original Message-----