Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ToggleTerm is opened in insert mode #18

Open
Zeioth opened this issue Jun 15, 2023 · 1 comment
Open

ToggleTerm is opened in insert mode #18

Zeioth opened this issue Jun 15, 2023 · 1 comment

Comments

@Zeioth
Copy link

Zeioth commented Jun 15, 2023

This makes us having to press 'i' before 'q' every time we want to exit. There is some way to avoid this?

@jedrzejboczar
Copy link
Owner

You should be able to change the behavior by using start_in_insert = false for your toggleterm.nvim config (not toggletasks). But then it looks like you will end up in whatever mode you were in telescope, so selecting the task in normal leaves me in normal mode, and selecting in insert mode leaves me in insert mode. If that's not ok than we could add some option for toggletasks to always set insert/normal mode as desired by the user.

Also, which version of neovim are you using, as it may be somehow related to nvim-telescope/telescope.nvim#2501.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants