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

How to Exit magit-blame-file? #263

Open
WIZARDELF opened this issue Jul 1, 2023 · 3 comments · May be fixed by #296
Open

How to Exit magit-blame-file? #263

WIZARDELF opened this issue Jul 1, 2023 · 3 comments · May be fixed by #296

Comments

@WIZARDELF
Copy link

When I issue the command magit-blame-file, it works well, but how should I exit the magit-blame-file view?

@kahole
Copy link
Owner

kahole commented Jul 2, 2023

Issue here is that the blame view doesn’t use the magit language mode in order to have syntax highlighting for the language of the file.
So «q» doesnt work for exiting the blame view.
Cmd+W or ctrl+w should work to exit it.

There may be some way to have a shortcut that checks for the blame view and can allow us to use «q» for those views. I’d need to investigate.

@ossilva
Copy link

ossilva commented Aug 8, 2023

Also interested in this. What command should ctrl+w invoke by default to close the blame-file-view?

@kahole
Copy link
Owner

kahole commented Aug 8, 2023

By default it should invoke something like "close tab"

grgar added a commit to grgars/edamagit that referenced this issue Apr 14, 2024
@grgar grgar linked a pull request Apr 14, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

3 participants