akinsho / toggleterm.nvim

A neovim lua plugin to help easily manage multiple terminal windows
GNU General Public License v3.0
4.43k stars 175 forks source link

terminal window should be dedicated for terminal, not allow opening a file #620

Open shaozi opened 2 weeks ago

shaozi commented 2 weeks ago

When the terminal window is focused, and a user clicks a tab, the buffer of the tab will take the terminal window over. This is not what a user normally expected. I am not sure if ToggleTerm can do this, I will put it up here for discussion.

See screenshot for the explanation if the issue.

toggleterm
jimafisk commented 2 weeks ago

Related issue posted in bufferline: https://github.com/akinsho/bufferline.nvim/issues/935

jimafisk commented 1 week ago

@shaozi I adjusted bufferline to accomplish this: https://github.com/akinsho/bufferline.nvim/issues/935#issuecomment-2471152477