commit 0f40752139648c439d2d61c157628c12c06fa2a6
parent d57bfc057fba151d285da5c779009408d8fec532
Author: Benno Schulenberg <bensberg@telfort.nl>
Date: Fri, 22 Oct 2021 11:33:32 +0200
docs: add a hint about making ^L do just 'refresh' to the sample nanorc
Just for the sake of completeness -- I doubt anyone ever uses Refresh.
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/doc/sample.nanorc.in b/doc/sample.nanorc.in
@@ -265,6 +265,9 @@
## <Ctrl+Backspace> delete the word to the left of the cursor with:
# bind ^H chopwordleft main
+## If you want ^L to just refresh the screen and not center the cursor:
+# bind ^L refresh main
+
## For quickly uppercasing or lowercasing the word under the cursor.
## (These effectively do a Ctrl+Right followed by a Shift+Ctrl+Left,
## and then pipe the selected text through a sed command.)