docs: suggest a key binding for snipping trailing blanks
This addresses https://savannah.gnu.org/bugs/?63062.
This commit is contained in:
parent
98e9a881c0
commit
5b654ce9fb
@ -292,6 +292,9 @@
|
|||||||
## For copying a marked region to the system clipboard:
|
## For copying a marked region to the system clipboard:
|
||||||
# bind Sh-M-T "{execute}|xsel -ib{enter}{undo}" main
|
# bind Sh-M-T "{execute}|xsel -ib{enter}{undo}" main
|
||||||
|
|
||||||
|
## For snipping trailing blanks when you save a file:
|
||||||
|
# bind ^S "{execute}| sed 's/\s\+$//' {enter}{savefile}" main
|
||||||
|
|
||||||
## If you would like nano to have keybindings that are more "usual",
|
## If you would like nano to have keybindings that are more "usual",
|
||||||
## such as ^O for Open, ^F for Find, ^H for Help, and ^Q for Quit,
|
## such as ^O for Open, ^F for Find, ^H for Help, and ^Q for Quit,
|
||||||
## then uncomment these:
|
## then uncomment these:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user