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

Switching current directory to non-home ends up confusing the tab bar #3

Closed
aripollak opened this issue Jun 21, 2015 · 2 comments
Closed

Comments

@aripollak
Copy link

I think I found a bug in the latest addition for #2 - if I open up vim from my home directory and do this:

:e .vimrc
:tabnew 
:cd hi

Then the tab line looks like this, which seems wrong, since it loses both the filename and the directory of the first tab:

  1 ~/hi  2 ~/hi
@tpope
Copy link
Owner

tpope commented Jun 21, 2015

:cd changes the global directory so it affects the first tab too. You're probably looking for :lcd.

@tpope tpope closed this as completed Jun 21, 2015
@aripollak
Copy link
Author

Maybe, but isn't the first tab label still incorrect? I would still expect it to say ~/.vimrc, or some shortening thereof.

mmm, shortening.

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