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

After renaming terminal buffer, loading original buffer destroys terminal without warning #3404

Closed
HarmtH opened this issue Sep 30, 2015 · 3 comments
Labels
terminal built-in :terminal or :shell

Comments

@HarmtH
Copy link
Contributor

HarmtH commented Sep 30, 2015

When executing the commands below, the original terminal will get destroyed and a new one will be created without warnings:

nvim -u NONE
:te
echo this terminal gets destroyed
<C-\><C-n>
:f gettingdestroyed
:b2
@justinmk
Copy link
Member

justinmk commented Sep 30, 2015

Yep, we should not allow renaming terminal buffers at all. It does not make sense, it's like renaming a file buffer (and then expecting the file name to be different).

see #3278

@HarmtH
Copy link
Contributor Author

HarmtH commented Sep 30, 2015

I like giving my terminals names, then I know what I'm doing in that terminal. Is there a better way to do that?

@justinmk justinmk added this to the 0.2 milestone Sep 30, 2015
@justinmk justinmk added the bug issues reporting wrong behavior label Sep 30, 2015
@justinmk justinmk modified the milestones: 0.3, 0.2 Dec 11, 2016
@clason clason modified the milestones: 0.6, 0.7 Nov 30, 2021
@zeertzjq zeertzjq added the terminal built-in :terminal or :shell label Jan 14, 2022
@zeertzjq
Copy link
Member

:setlocal bufhidden=hide

@zeertzjq zeertzjq removed bug issues reporting wrong behavior terminal built-in :terminal or :shell labels Mar 27, 2023
@zeertzjq zeertzjq removed this from the 0.9 milestone Mar 27, 2023
@justinmk justinmk added the terminal built-in :terminal or :shell label Mar 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
terminal built-in :terminal or :shell
Projects
None yet
Development

No branches or pull requests

4 participants