-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Feature request: display topdir of git #2505
Comments
Hm, interesting. Note getting the root of the git-project isn't something that vim-airline should do. But we can probably make use of fugitive for that (using the |
So the relative path under .git will not be shown, and I have to run :Gcd to see when I need the path? Thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
say I have a git repository called gitrepo under /home/xyz/abc/def/xyz/gitrepo, if statusline shows full-path it will be too long, what I really care is the topdir of my git, can I show something like below instead:
gitrepo:myfile.c
or:
gitrepo:/my/path/to/myfile.c
The text was updated successfully, but these errors were encountered: