nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit 05592a84ecfd1b3953e0a9286034177580397367
parent c46696d40cb0683ae8a9fa4b18bca61a95f7abda
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Fri, 13 Jul 2018 13:37:33 +0200

completion: when the cursor is not after a word fragment, say so

Instead of being entirely silent when ^] is hit after whitespace
or punctuation, report what is lacking -- similar to M-] saying
"Not a bracket" when the cursor is not sitting on a bracket.
This makes the ^] keystroke more discoverable.

Diffstat:
Msrc/text.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/text.c b/src/text.c @@ -3600,6 +3600,7 @@ void complete_a_word(void) /* If there is no word fragment before the cursor, do nothing. */ if (start_of_shard == openfile->current_x) { + statusbar(_("No word fragment")); pletion_line = NULL; return; }