kahole / edamagit

Magit for VSCode
https://marketplace.visualstudio.com/items?itemName=kahole.magit
MIT License
1.12k stars 65 forks source link

How to Exit magit-blame-file? #263

Open WIZARDELF opened 1 year ago

WIZARDELF commented 1 year ago

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

kahole commented 1 year ago

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 commented 1 year ago

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

kahole commented 1 year ago

By default it should invoke something like "close tab"