From 0f40752139648c439d2d61c157628c12c06fa2a6 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Fri, 22 Oct 2021 11:33:32 +0200 Subject: [PATCH] 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. --- doc/sample.nanorc.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/sample.nanorc.in b/doc/sample.nanorc.in index 1ddd7df3..49ef2c1d 100644 --- a/doc/sample.nanorc.in +++ b/doc/sample.nanorc.in @@ -265,6 +265,9 @@ ## 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.)