diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-06-06 09:11:12 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-06-06 09:11:12 +0200 |
commit | 6d41c78e353b630bc1a72cbff9160311d2a81e8c (patch) | |
tree | 4ed89d974b7ce1e69ae848bfea2802605c748453 /src/structs.h | |
parent | adb8fbec4f4059d214fe6acf2485ffd35e803450 (diff) |
patch 8.1.0035: not easy to switch between prompt buffer and other windowsv8.1.0035
Problem: Not easy to switch between prompt buffer and other windows.
Solution: Accept CTRL-W commands in Insert mode. Start and stop Insert mode
as one would expect.
Diffstat (limited to 'src/structs.h')
-rw-r--r-- | src/structs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/structs.h b/src/structs.h index cbebd7f964..e76acc8323 100644 --- a/src/structs.h +++ b/src/structs.h @@ -2360,6 +2360,8 @@ struct file_buffer char_u *b_prompt_text; // set by prompt_setprompt() char_u *b_prompt_callback; // set by prompt_setcallback() partial_T *b_prompt_partial; // set by prompt_setcallback() + int b_prompt_insert; // value for restart_edit when entering + // a prompt buffer window. #endif #ifdef FEAT_MZSCHEME void *b_mzscheme_ref; /* The MzScheme reference to this buffer */ |