akinsho / akinsho/toggleterm.nvim

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

未关闭
#169 3 条评论 7 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Lua
星标
5.6k
派生
206
PR 合并指标
30 天内没有已合并 PR

描述

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?

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。