how to delete a full word with cursor in the middle of the word?
Andreas Radke <[email protected]> Tue, 15 Nov 2022 13:25:43 +0100
| Newsgroups | gmane.editors.nano.general |
|---|---|
| Organization | ArchLinux |
| Message-ID | <20221115132543.7d812a76@workstation64> |
Hallo. 1) I'm missing a simple one keystroke function to delete a full word in nano under the cursor to both ends with a single (key) action? Just like what vim does when invoking "dw" no matter if the cursor is at the word beginning/middle or end of the word. For casual words some combination of Alt+Bsp / Ctrl+Del does it. One keystroke less would be nice though. 2) And I have a special case where word boundaries don't work properly for me: I haven't found a simple way to delete quoted sha checksums with one keystroke keeping the quotes like: 'b2059568b1e35c34c12b580803998e66b142d96e9a35f16b63afccb8e6af5c34' [...] checksum. Do you have some suggestions for me? Thanks. -Andy (also Arch Linux package maintainer)
signature.asc
(application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEErcih/MFeAdRTEEGelGV6sg8qCSsFAmNzhUcACgkQlGV6sg8q CSvI3gf/ZIPKwJVneamIGc78MQT56UpSlNRi78J00Q41MCQ22rMQQANxecxH/ZiM b2U7g0a8n2c6YrssNueGPDcfU6SZWo5kPUo6h7Nx6ltTqEouIOD0oh06ejWT22s6 Uyguv+XbtYFMBIeyerPC6RdlynOSiPw0h/ziWGxYbvGqMiThfq547ggzYGh99vr1 ymZL+hgBNb0gpH6nDWaHVJhrZJsVQ0f/TPNab2A9H5iSZD0YMAS/Ycp5m9Gi/MUe g3yR16zFW8IEw4Vr4d7bZIUXpwtgxXlk9F+7PCE9j43bEBYpe5H1kk+H5zXCJebi kfIUc/9ONPqT7vyotYShuQpZZuRcMQ== =RF8t -----END PGP SIGNATURE-----