-
Notifications
You must be signed in to change notification settings - Fork 305
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow running complete_done_after() in normal mode
If user selects a completion item and presses <Esc>, the key sequence to feedkeys() will get run in normal mode. This can be handled with a <Plug> mapping that resolves to different sequences in normal mode and insert mode. As a bonus, the use of <silent> mappings eliminate the message line garbage from feedkeys.
- Loading branch information
1 parent
e74bd3c
commit a760749
Showing
1 changed file
with
27 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters