gitHistoryVSCode
gitHistoryVSCode copied to clipboard
Vim key remap Issue
I have the Vim extension installed and am trying to remap \f to show file history and \l to show line history with the following settings.
{
"before": [
"leader",
"f"
],
"commands": [
"git.viewFileHistory"
]
},
{
"before": [
"leader",
"l"
],
"commands": [
"git.viewLineHistory"
]
}
git.viewLineHistory works as expected. However git.viewFileHisotry shows the history of the current repo instead of the current file.
It looks the info parameter is an empty array in this case.
And this fix works for me. But I am not sure if this is the right fix.