commit 4f0683a481e6c044a011c0cddf529145342b0d16
parent b9449de5cfb9b4f163f78521663f73e0fbe1ef66
Author: Benno Schulenberg <bensberg@telfort.nl>
Date: Tue, 26 Mar 2024 11:37:29 +0100
docs: add an example binding for normalizing Unicode to the sample nanorc
This requires `uconv` from the 'icu-devtools' package (on Debian).
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/doc/sample.nanorc.in b/doc/sample.nanorc.in
@@ -295,6 +295,9 @@
## For copying a marked region to the system clipboard:
# bind Sh-M-C "{execute}|xsel -ib{enter}{undo}" main
+## For normalizing Unicode to precomposed characters:
+# bind Sh-M-N "{execute}| uconv -x nfc {enter}" main
+
## For snipping trailing blanks when you save a file:
# bind ^S "{execute}| sed 's/\s\+$//' {enter}{savefile}" main