Merge pull request #18194 from famiu/feat/usercmd_preview

feat: user command "preview" (like inccommand)
This commit is contained in:
bfredl
2022-05-31 17:44:13 +02:00
committed by GitHub
25 changed files with 960 additions and 346 deletions

View File

@@ -639,6 +639,9 @@ EXTERN int motion_force INIT(=0); // motion force for pending operator
EXTERN bool exmode_active INIT(= false); // true if Ex mode is active
EXTERN bool ex_no_reprint INIT(=false); // No need to print after z or p.
// 'inccommand' command preview state
EXTERN bool cmdpreview INIT(= false);
EXTERN int reg_recording INIT(= 0); // register for recording or zero
EXTERN int reg_executing INIT(= 0); // register being executed or zero
// Flag set when peeking a character and found the end of executed register