docs: add a suggested rebind and three suggested unbinds to the sample rc

master
Benno Schulenberg 2021-10-31 11:14:09 +01:00
parent 8da098f5e0
commit a373fa500a
1 changed files with 11 additions and 0 deletions

View File

@ -261,9 +261,20 @@
## <Ctrl+Backspace> delete the word to the left of the cursor with:
# bind ^H chopwordleft main
## For a more mnemonic Comment keystroke (overriding Cut-from-cursor):
# bind M-K comment main
## If you want ^L to just refresh the screen and not center the cursor:
# bind ^L refresh main
## When you sometimes type M-J instead of M-K, or M-T instead of M-R:
# unbind M-J main
# unbind M-T main
## (Those functions are still accessible through ^T^J and ^T^V.)
## If you sometimes hit ^Z by accident (you can still suspend with ^T^Z):
# unbind ^Z 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.)