fix: fix keep insert when going from telescope window to telescope window (#1600)

Also fixes `initial_mode`

Co-authored-by: Simon Hauser <Simon-Hauser@outlook.de>
This commit is contained in:
kylo252
2022-04-22 16:13:32 +02:00
committed by GitHub
parent 5a58b1f535
commit cc1a3440f9
5 changed files with 33 additions and 40 deletions

View File

@@ -2179,14 +2179,14 @@ actions.close({prompt_bufnr}) *telescope.actions.close()*
{prompt_bufnr} (number) The prompt bufnr
actions._close({prompt_bufnr}, {keepinsert}) *telescope.actions._close()*
Close the Telescope window and specify if you want to keep insert mode or
not
actions._close({prompt_bufnr}) *telescope.actions._close()*
Close the Telescope window, usually used within an action
Deprecated and no longer needed, does the same as
|telescope.actions.close|. Might be removed in the future
Parameters: ~
{prompt_bufnr} (number) The prompt bufnr
{keepinsert} (boolean) Remain in INSERT mode if true
{prompt_bufnr} (number) The prompt bufnr
actions.edit_command_line({prompt_bufnr}) *telescope.actions.edit_command_line()*