how to delete a full word with cursor in the middle of the word?
Andreas Radke <[email protected]> Mon, 14 Nov 2022 08:03:50 +0100
| Newsgroups | gmane.editors.nano.general |
|---|---|
| Message-ID | <20221114080317.71ed17c9@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' -> '' and keep cursor under 2nd ' to allow easy pasting the new checksum. Do you have some suggestions for me? Thanks. -Andy (alos Arch Linux package maintainer)
signature.asc
(application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEErcih/MFeAdRTEEGelGV6sg8qCSsFAmNx6FYACgkQlGV6sg8q CSuyngf/aTCUDYMzcJDmGWZGAg5cXND5c+GWM+lRZPgqtXB8w38E/qakm5N5JUUi qsz9itOEcdrj6tEZ6xQHFHAnbGJ2Z2Xem8jMQVzwNktLr0TNnD3xg/13BMxeJ6kq mxulLZ87z+kstOtU6wq5JBLxB2GGrR77LyzSw2MlbNhWK0A+iVvehvcRNsf+qXp+ ocLel2RWSwhqFoCp6bxU2eWAcEMJSIej3wZpcttcztYPDkBF6sjl3JKXD8hWKY9+ Na/s8lUqWBvGtpo6tZOaGEgtHRrt1SBvOelD0McoSjEzqAn2QlYh6/y1JTntS9dV iU187/rl/htWwxrGrJZp9SkGBMPZhw== =hxk8 -----END PGP SIGNATURE-----