vim-patch:9.1.1850: completion: not triggered after i_Ctrl-W/i_Ctrl-U (#36156)

Problem:  completion: not triggered after i_Ctrl-W/i_Ctrl-U
Solution: Trigger autocomplete when entering Insert mode
          (Girish Palya).

fixes: vim/vim#18535
closes: vim/vim#18543

da2dabc6f7

Co-authored-by: Girish Palya <girishji@gmail.com>
This commit is contained in:
zeertzjq
2025-10-13 08:08:53 +08:00
committed by GitHub
parent 72b0bfa1fb
commit 83c7193c11
3 changed files with 76 additions and 21 deletions

View File

@@ -69,10 +69,11 @@ CTRL-W Delete the word before the cursor (see |i_backspacing| about
By default, sets a new undo point before deleting.
|default-mappings|
*i_CTRL-U*
CTRL-U Delete all entered characters before the cursor in the current
line. If there are no newly entered characters and
'backspace' is not empty, delete all characters before the
cursor in the current line.
CTRL-U Delete all characters that were entered after starting Insert
mode and before the cursor in the current line.
If there are no newly entered characters and 'backspace' is
not empty, delete all characters before the cursor in the
current line.
If C-indenting is enabled the indent will be adjusted if the
line becomes blank.
See |i_backspacing| about joining lines.