akinsho / akinsho/toggleterm.nvim

[Feature]: toggle term without putting focus on it.

Open
#169 3 comments 7 reactions 0 assignees View on GitHub
Dominant language
Lua
Stars
5.6k
Forks
206
PR merge metrics
No merged PRs in 30d

Description

My use case:

I have a command to toggle all TUI on and off but not the open text buffers.
So say I have Nvim-tree and ToggleTerm I hide both and show both when I toggle.

But when I toggle the terminal interface on it automatically take over focus and put it self in insert mode in the terminal.
That is ok if I start a terminal and know I need to do something in the terminal, but not in this use case I would rather stay on the last focused window and let the me decide what to do.

So is there a way of turn this off I have not found any solution but maybe I missed it?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.