From bfafc42fc3e6ae33eec68f0eae07739df6ae5c2b Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Sun, 4 Oct 2026 21:42:10 +0200 Subject: automatically disable ^G modifier after successful auto-completions This will be important once we're doing LSP auto-completions. Until a completion is complete, we do NOT want to disable the modifier however since otherwise it can be disabled after a partial completion if there happened to be a rubbed out command line. Discarding a rubbed out command line consequently no longer disables the modifier as well. Any change of the modifier is now logged with an Info-level message. Some rudimentary test case has been added for rub-in via ^G. --- doc/sciteco.7.template | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/sciteco.7.template b/doc/sciteco.7.template index 86ca68f..b3b2aaa 100644 --- a/doc/sciteco.7.template +++ b/doc/sciteco.7.template @@ -433,7 +433,8 @@ If enabled, the rubout commands will perform analoguous re-insertions of previously rubbed out characters. Therefore \fB^G\fP (CTRL+G) effectively switches between undo and redo modes. -The modifier also influences the behaviour of the TAB key. +The modifier may also enable file name and symbol completions +with the TAB key. T} T{ Case insensitive command character @@ -601,8 +602,9 @@ T};T{ Auto complete filename beginning after the last space (or beginning of the string argument). Fully completed filenames are terminated with a space. -This autocompletion works in every string argument (as long as +This auto-completion works in every string argument as long as the \fB^G\fP modifier is enabled. +The modifier is automatically disabled after a full completion. T} \^;\^;\^;T{ Operating system command arguments -- cgit v1.2.3