Re: Commenting several lines
Benno Schulenberg <[email protected]> Wed, 19 Jan 2022 15:29:37 +0100
| Newsgroups | gmane.editors.nano.general |
|---|---|
| Message-ID | <[email protected]> |
Hi Sébastien, Op 19-01-2022 om 14:50 schreef Seb: > Today, I selected several lines from a text file (with ^6), then pressed # > expecting each selected line to now begin with a #. The keystroke you are looking for is M-3 or, in your case, <Esc> <3>. > Or perhaps it was a future option of Nano that visited me in my sleep? :) > Unfortunately I lack the correct > keyword to locate it in up-to-date online man page at > https://www.nano-editor.org/dist/latest/nano.html#Nanorc-Files The function keyword is 'comment', located right after 'unindent'. In my nanorc file it says: bind M-K comment main because M-K is easier to remember (and I don't need the toggle). Benno
OpenPGP_signature
(application/pgp-signature, 840 B) - not displayed